Interface IObjectFactory
- Namespace
- Stride.Core.Reflection
- Assembly
- Stride.Core.dll
Interface of a factory that can create instances of a type.
public interface IObjectFactory
Methods
New(Type)
Creates a new instance of a type.
object New(Type type)
Parameters
type
TypeThe type of the instance to create.
Returns
- object
A new default instance of a type.