C# Class YamlDotNet.Serialization.ObjectFactories.LambdaObjectFactory

Creates objects using a Func{Type,object}"/>.
Inheritance: IObjectFactory
显示文件 Open project: aaubry/YamlDotNet

Public Methods

Method Description
Create ( Type type ) : object
LambdaObjectFactory ( object>.Func factory ) : System

Method Details

Create() public method

public Create ( Type type ) : object
type System.Type
return object

LambdaObjectFactory() public method

public LambdaObjectFactory ( object>.Func factory ) : System
factory object>.Func
return System