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
Namespace: Syncfusion.Data
Assembly: Syncfusion.Linq.Android.dll
Syntax
public class ClassFactory : Object
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. |