Class SerializedValue
Serialized data value
Inherited Members
Namespace: XData
Assembly: XData.docfx.dll
Syntax
[Serializable]
[DataContract]
public class SerializedValue
Constructors
| Improve this Doc View SourceSerializedValue(String, String, Object, Object)
Serialized value constructor
Declaration
public SerializedValue(string propertyName, string fieldName, object original, object value)
Parameters
Type | Name | Description |
---|---|---|
String | propertyName | Property name |
String | fieldName | Field name |
Object | original | Original value |
Object | value | Value |
Properties
| Improve this Doc View SourceFieldName
Field name
Declaration
[DataMember]
public string FieldName { get; set; }
Property Value
Type | Description |
---|---|
String |
IsNotChanged
Not changed flag
Declaration
[DataMember]
public bool IsNotChanged { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
IsNull
Null value flag
Declaration
[DataMember]
public bool IsNull { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
Original
Original value
Declaration
[DataMember]
public string Original { get; set; }
Property Value
Type | Description |
---|---|
String |
PropertyName
Property name
Declaration
[DataMember]
public string PropertyName { get; set; }
Property Value
Type | Description |
---|---|
String |
TypeName
Value type name
Declaration
[DataMember]
public string TypeName { get; set; }
Property Value
Type | Description |
---|---|
String |
Value
Original value
Declaration
[DataMember]
public string Value { get; set; }
Property Value
Type | Description |
---|---|
String |
Methods
| Improve this Doc View SourceDeserialize(Type, String)
Deserialize value
Declaration
public static object Deserialize(Type type, string value)
Parameters
Type | Name | Description |
---|---|---|
Type | type | Data type |
String | value | String value representation |
Returns
Type | Description |
---|---|
Object | Value |
GetValue(Type)
Returns serialized value
Declaration
public object GetValue(Type type)
Parameters
Type | Name | Description |
---|---|---|
Type | type |
Returns
Type | Description |
---|---|
Object |
Serialize(Object)
Serialize value
Declaration
public static string Serialize(object value)
Parameters
Type | Name | Description |
---|---|---|
Object | value | Value |
Returns
Type | Description |
---|---|
String | String value representation |