Table of Contents

Class TranslatableAttribute

Namespace
Uncreated.Warfare.Translations
Assembly
Uncreated.Warfare.dll
[AttributeUsage(AttributeTargets.Class|AttributeTargets.Struct|AttributeTargets.Enum|AttributeTargets.Field|AttributeTargets.Interface, Inherited = false, AllowMultiple = true)]
public sealed class TranslatableAttribute : Attribute
Inheritance
TranslatableAttribute
Inherited Members

Constructors

TranslatableAttribute()

public TranslatableAttribute()

TranslatableAttribute(string?)

public TranslatableAttribute(string? @default)

Parameters

default string

TranslatableAttribute(string, string)

public TranslatableAttribute(string language, string value)

Parameters

language string
value string

Properties

Default

public string? Default { get; }

Property Value

string

Description

public string? Description { get; set; }

Property Value

string

IsPrioritizedTranslation

public bool IsPrioritizedTranslation { get; set; }

Property Value

bool

Language

public string? Language { get; }

Property Value

string