Class SimpleXmlConfigurationSerializer
Implements
IConfigurationTransformer <System.String >
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)
System.Object.ToString()
Namespace: Snowflake.Configuration.Serialization.Serializers.Implementations
Assembly: Snowflake.Framework.dll
Syntax
public class SimpleXmlConfigurationSerializer : AbstractStringConfigurationSerializer, IConfigurationTransformer<string>
Constructors
SimpleXmlConfigurationSerializer(String)
Declaration
public SimpleXmlConfigurationSerializer(string rootElementName)
Parameters
Type | Name | Description |
---|---|---|
System. |
rootElementName |
Methods
SerializeBlockBegin(IConfigurationSerializationContext<String>, Int32)
Declaration
public override void SerializeBlockBegin(IConfigurationSerializationContext<string> context, int index)
Parameters
Type | Name | Description |
---|---|---|
IConfiguration |
context | |
System. |
index |
Overrides
Snowflake.Configuration.Serialization.Serializers.ConfigurationSerializer<System.String>.SerializeBlockBegin(Snowflake.Configuration.Serialization.IConfigurationSerializationContext<System.String>, System.Int32)
SerializeBlockEnd(IConfigurationSerializationContext<String>, Int32)
Declaration
public override void SerializeBlockEnd(IConfigurationSerializationContext<string> context, int index)
Parameters
Type | Name | Description |
---|---|---|
IConfiguration |
context | |
System. |
index |
Overrides
Snowflake.Configuration.Serialization.Serializers.ConfigurationSerializer<System.String>.SerializeBlockEnd(Snowflake.Configuration.Serialization.IConfigurationSerializationContext<System.String>, System.Int32)
SerializeFooter(IConfigurationSerializationContext<String>)
Declaration
public override void SerializeFooter(IConfigurationSerializationContext<string> context)
Parameters
Type | Name | Description |
---|---|---|
IConfiguration |
context |
Overrides
Snowflake.Configuration.Serialization.Serializers.ConfigurationSerializer<System.String>.SerializeFooter(Snowflake.Configuration.Serialization.IConfigurationSerializationContext<System.String>)
SerializeHeader(IConfigurationSerializationContext<String>)
Declaration
public override void SerializeHeader(IConfigurationSerializationContext<string> context)
Parameters
Type | Name | Description |
---|---|---|
IConfiguration |
context |
Overrides
Snowflake.Configuration.Serialization.Serializers.ConfigurationSerializer<System.String>.SerializeHeader(Snowflake.Configuration.Serialization.IConfigurationSerializationContext<System.String>)
SerializeNodeValue(Boolean, String, IConfigurationSerializationContext<String>, Int32)
Declaration
public override void SerializeNodeValue(bool value, string key, IConfigurationSerializationContext<string> context, int index)
Parameters
Type | Name | Description |
---|---|---|
System. |
value | |
System. |
key | |
IConfiguration |
context | |
System. |
index |
Overrides
Snowflake.Configuration.Serialization.Serializers.ConfigurationSerializer<System.String>.SerializeNodeValue(System.Boolean, System.String, Snowflake.Configuration.Serialization.IConfigurationSerializationContext<System.String>, System.Int32)
SerializeNodeValue(Double, String, IConfigurationSerializationContext<String>, Int32)
Declaration
public override void SerializeNodeValue(double value, string key, IConfigurationSerializationContext<string> context, int index)
Parameters
Type | Name | Description |
---|---|---|
System. |
value | |
System. |
key | |
IConfiguration |
context | |
System. |
index |
Overrides
Snowflake.Configuration.Serialization.Serializers.ConfigurationSerializer<System.String>.SerializeNodeValue(System.Double, System.String, Snowflake.Configuration.Serialization.IConfigurationSerializationContext<System.String>, System.Int32)
SerializeNodeValue(Enum, String, String, IConfigurationSerializationContext<String>, Int32)
Declaration
public override void SerializeNodeValue(Enum enumValue, string value, string key, IConfigurationSerializationContext<string> context, int index)
Parameters
Type | Name | Description |
---|---|---|
System. |
enumValue | |
System. |
value | |
System. |
key | |
IConfiguration |
context | |
System. |
index |
Overrides
Snowflake.Configuration.Serialization.Serializers.ConfigurationSerializer<System.String>.SerializeNodeValue(System.Enum, System.String, System.String, Snowflake.Configuration.Serialization.IConfigurationSerializationContext<System.String>, System.Int32)
SerializeNodeValue(Int64, String, IConfigurationSerializationContext<String>, Int32)
Declaration
public override void SerializeNodeValue(long value, string key, IConfigurationSerializationContext<string> context, int index)
Parameters
Type | Name | Description |
---|---|---|
System. |
value | |
System. |
key | |
IConfiguration |
context | |
System. |
index |
Overrides
Snowflake.Configuration.Serialization.Serializers.ConfigurationSerializer<System.String>.SerializeNodeValue(System.Int64, System.String, Snowflake.Configuration.Serialization.IConfigurationSerializationContext<System.String>, System.Int32)
SerializeNodeValue(String, String, IConfigurationSerializationContext<String>, Int32)
Declaration
public override void SerializeNodeValue(string value, string key, IConfigurationSerializationContext<string> context, int index)
Parameters
Type | Name | Description |
---|---|---|
System. |
value | |
System. |
key | |
IConfiguration |
context | |
System. |
index |
Overrides
Snowflake.Configuration.Serialization.Serializers.ConfigurationSerializer<System.String>.SerializeNodeValue(System.String, System.String, Snowflake.Configuration.Serialization.IConfigurationSerializationContext<System.String>, System.Int32)
SerializerNodeValue(ControllerElement, String, String, IConfigurationSerializationContext<String>, Int32)
Declaration
public override void SerializerNodeValue(ControllerElement controllerElementValue, string value, string key, IConfigurationSerializationContext<string> context, int index)
Parameters
Type | Name | Description |
---|---|---|
Controller |
controllerElementValue | |
System. |
value | |
System. |
key | |
IConfiguration |
context | |
System. |
index |
Overrides
Snowflake.Configuration.Serialization.Serializers.ConfigurationSerializer<System.String>.SerializerNodeValue(Snowflake.Input.Controller.ControllerElement, System.String, System.String, Snowflake.Configuration.Serialization.IConfigurationSerializationContext<System.String>, System.Int32)