Interface IObjectGenerator<T>
Provides the base methods for a generic object factory.
Namespace: Telerik.Windows.Controls
Assembly: Telerik.Windows.Controls.ScheduleView.dll
Syntax
public interface IObjectGenerator<T>
Type Parameters
T
|
Methods
CreateNew()
Creates a new instance of the specified type.
Declaration
T CreateNew()
Returns
T
The new instance of the specified type. |
CreateNew(T)
Creates a new instance of the specified type and copies the provided object properties on to the new instance.
Declaration
T CreateNew(T item)
Parameters
T
item
|
Returns
T
The new instance of the specified type. |