Class LazyLocalizedText
- Namespace
- Core.Localization
- Assembly
- Core.Localization.dll
public class LazyLocalizedText : IText
- Inheritance
-
objectLazyLocalizedText
- Implements
- Extension Methods
Constructors
LazyLocalizedText(TranslationId)
public LazyLocalizedText(TranslationId id)
Parameters
Fields
Id
public readonly TranslationId Id
Field Value
Methods
Bind(string, IText)
public IText Bind(string placeholder, IText value)
Parameters
placeholderstringvalueIText
Returns
BindUnsafe(string, IText)
public LazyLocalizedText BindUnsafe(string placeholder, IText value)
Parameters
placeholderstringvalueIText
Returns
Build(StringBuilder, ILocalizationResolver, ITextStyleProvider)
public void Build(StringBuilder sb, ILocalizationResolver resolver, ITextStyleProvider textStyle)
Parameters
sbStringBuilderresolverILocalizationResolvertextStyleITextStyleProvider
Equals(LazyLocalizedText)
public bool Equals(LazyLocalizedText other)
Parameters
otherLazyLocalizedText
Returns
- bool
Equals(object)
public override bool Equals(object obj)
Parameters
objobject
Returns
- bool
GetHashCode()
public override int GetHashCode()
Returns
- int
ToString()
public override string ToString()
Returns
- string