Show / Hide Table of Contents

# Interface IFactory<T>

Factory that produces instances of a specific type. Implementation can be passed over the wire and thus should be marked with System.SerializableAttribute.

###### Namespace: Apache.Ignite.Core.Common

###### Assembly: Apache.Ignite.Core.dll

##### Syntax

    public interface IFactory<out T>

##### Type Parameters

Name | Description
--- | ---
T |

### Methods

#### CreateInstance()

Creates an instance of type `T`.

##### Declaration

    T CreateInstance()

##### Returns

Type | Description
--- | ---
T | New instance of type `T`.