Class XmlSerializersCreator
Creates files with code of XmlSerializationReader and XmlSerializationWriter derived classes for manual serialization of sepcified types.
Inheritance
System.Object
XmlSerializersCreator
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: Syncfusion.XmlSerializersCreator
Assembly: Syncfusion.Shared.Base.dll
Syntax
public class XmlSerializersCreator
Constructors
XmlSerializersCreator(String, String, IList)
Creates new instance of XmlSerializersCreator.
Declaration
public XmlSerializersCreator(string strOutputPath, string strOutputNamespace, IList inputTypes)
Parameters
Type | Name | Description |
---|---|---|
System.String | strOutputPath | Ouput path to store .cs files. |
System.String | strOutputNamespace | Namespace of output classes. |
System.Collections.IList | inputTypes | List of names of types to create serializer classes for. |
Methods
CreateSerializers()
Creates needed files with required classes.
Declaration
public void CreateSerializers()
SetEnvironmentVariable(String, String)
API function for setting value to environment variable.
Declaration
public static bool SetEnvironmentVariable(string VariableName, string VariableValue)
Parameters
Type | Name | Description |
---|---|---|
System.String | VariableName | Name of variable. |
System.String | VariableValue | New value. |
Returns
Type | Description |
---|---|
System.Boolean | True if succeeded, otherwise false. |