Class UIDataJsonSerializer
Inheritance
System.Object
UIDataJsonSerializer
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Assembly: Terrasoft.Core.dll
Syntax
public static class UIDataJsonSerializer
Methods
AddProperty(StringBuilder, String)
Declaration
public static void AddProperty(StringBuilder sb, string propertyName)
Parameters
Type |
Name |
Description |
System.Text.StringBuilder |
sb |
|
System.String |
propertyName |
|
AddProperty(StringBuilder, String, LocalizableString)
Declaration
public static void AddProperty(StringBuilder sb, string propertyName, LocalizableString propertyValue)
Parameters
Type |
Name |
Description |
System.Text.StringBuilder |
sb |
|
System.String |
propertyName |
|
LocalizableString |
propertyValue |
|
AddProperty(StringBuilder, String, Collection<Point>)
Declaration
public static void AddProperty(StringBuilder sb, string propertyName, Collection<Point> propertyValue)
Parameters
Type |
Name |
Description |
System.Text.StringBuilder |
sb |
|
System.String |
propertyName |
|
System.Collections.ObjectModel.Collection<System.Drawing.Point> |
propertyValue |
|
AddProperty(StringBuilder, String, Color)
Declaration
public static void AddProperty(StringBuilder sb, string propertyName, Color propertyValue)
Parameters
Type |
Name |
Description |
System.Text.StringBuilder |
sb |
|
System.String |
propertyName |
|
System.Drawing.Color |
propertyValue |
|
AddProperty(StringBuilder, String, Enum)
Declaration
public static void AddProperty(StringBuilder sb, string propertyName, Enum propertyValue)
Parameters
Type |
Name |
Description |
System.Text.StringBuilder |
sb |
|
System.String |
propertyName |
|
System.Enum |
propertyValue |
|
AddProperty(StringBuilder, String, Object)
Declaration
public static void AddProperty(StringBuilder sb, string propertyName, object propertyValue)
Parameters
Type |
Name |
Description |
System.Text.StringBuilder |
sb |
|
System.String |
propertyName |
|
System.Object |
propertyValue |
|
ColorToString(Color)
Declaration
public static string ColorToString(Color color)
Parameters
Type |
Name |
Description |
System.Drawing.Color |
color |
|
Returns
Type |
Description |
System.String |
|
StringToPoint(String)
Declaration
public static Point StringToPoint(string value)
Parameters
Type |
Name |
Description |
System.String |
value |
|
Returns
Type |
Description |
System.Drawing.Point |
|
WrapData(StringBuilder)
Declaration
public static void WrapData(StringBuilder sb)
Parameters
Type |
Name |
Description |
System.Text.StringBuilder |
sb |
|