C# Class Pandora.Lifestyles.SingletonLifestyle

Inheritance: ILifestyle
显示文件 Open project: Tigraine/pandora-container

Public Methods

Method Description
Execute ( Func action ) : object

Protected Methods

Method Description
SetSingleton ( object instance ) : void

Method Details

Execute() public method

public Execute ( Func action ) : object
action Func
return object

SetSingleton() protected method

protected SetSingleton ( object instance ) : void
instance object
return void