IObjectFactory Interface
Namespace: Stride.Core.ReflectionAssembly: Stride.Core.dll
Interface of a factory that can create instances of a type.
public interface IObjectFactory
Name | Description | |
---|---|---|
Methods | ||
New(Type) | Creates a new instance of a type. |
Methods
New(Type)
Creates a new instance of a type.
object New(Type type)
Parameters
Type | Name | Description |
---|---|---|
System.Type | type | The type of the instance to create. |
Returns
Type | Description |
---|---|
System.Object | A new default instance of a type. |