Table of Contents

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 Type

The type of the instance to create.

Returns

object

A new default instance of a type.