Class ClassFactory
Class that creates the dynamic classes for the given properties and gets the dynamic class for the given dynamic properties, generate properties for the given dynamic class, etc , this class as the factory for the classes.
Inheritance
System.Object
ClassFactory
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.Data
Assembly: Syncfusion.Data.WinForms.dll
Syntax
public class ClassFactory
Properties
Instance
Gets the new instance of the ClassFactory class.
Declaration
public static ClassFactory Instance { get; }
Property Value
Type |
---|
ClassFactory |
Methods
GetDynamicClass(IEnumerable<DynamicProperty>)
Gets the dynamic class for the given enumerable collection of dynamic properties.
Declaration
public Type GetDynamicClass(IEnumerable<DynamicProperty> properties)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<DynamicProperty> | properties | The IEnumerable collection of the dynamic properties for which the dynamic class is to be obtained. |
Returns
Type | Description |
---|---|
System.Type | The type of the dynamic class obtained for the given properties. |