InterfaceIObjectGenerator<T>
Interface
Provides the base methods for a generic object factory.
Definition
Namespace:Telerik.Windows.Controls
Assembly:Telerik.Windows.Controls.ScheduleView.dll
Type Parameters:
T
Syntax:
cs-api-definition
public interface IObjectGenerator<T>
Methods
CreateNew()
Creates a new instance of the specified type.
Declaration
cs-api-definition
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
cs-api-definition
T CreateNew(T item)
Parameters
item
T
Returns
T
The new instance of the specified type.