C# Class Story.Core.FileBasedStoryFactory

Inheritance: IStoryFactory, IDisposable
显示文件 Open project: narratr/story

Public Methods

Method Description
CreateStory ( string name ) : IStory
Dispose ( ) : void
FileBasedStoryFactory ( string path, Func rulesetConstructorArgsProvider = null ) : System
GetRuleset ( ) : IStoryHandler>.IRuleset

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Private Methods

Method Description
OnFileChanged ( string fileContent ) : void

Method Details

CreateStory() public method

public CreateStory ( string name ) : IStory
name string
return IStory

Dispose() public method

public Dispose ( ) : void
return void

Dispose() protected method

protected Dispose ( bool disposing ) : void
disposing bool
return void

FileBasedStoryFactory() public method

public FileBasedStoryFactory ( string path, Func rulesetConstructorArgsProvider = null ) : System
path string
rulesetConstructorArgsProvider Func
return System

GetRuleset() public method

public GetRuleset ( ) : IStoryHandler>.IRuleset
return IStoryHandler>.IRuleset