Class KnotText
Inheritance
System.Object
KnotText
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: Knot.Localization
Assembly: Knot.Localization.dll
Syntax
public class KnotText : IKnotText, IKnotValue<string>
Constructors
KnotText()
Declaration
public KnotText()
KnotText(String, IKnotMetadata[])
Declaration
public KnotText(string value, params IKnotMetadata[] metadata)
Parameters
Type | Name | Description |
---|---|---|
System.String | value | |
IKnotMetadata[] | metadata |
Properties
Metadata
Declaration
public IList<IKnotMetadata> Metadata { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IList<IKnotMetadata> |
Value
Declaration
public string Value { get; }
Property Value
Type | Description |
---|---|
System.String |
Methods
ForceUpdateValue()
Declaration
public void ForceUpdateValue()
ToString()
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String |
Overrides
System.Object.ToString()
Operators
Implicit(KnotText to String)
Declaration
public static implicit operator string (KnotText text)
Parameters
Type | Name | Description |
---|---|---|
KnotText | text |
Returns
Type | Description |
---|---|
System.String |