C# Class ReallyTinyCms.ConfigurationBuilder

Mostra file Open project: davidwhitney/ReallyTinyCms

Public Methods

Method Description
ConfigurationBuilder ( IContentService contentService ) : System
ConfigureEditRoute ( RouteCollection routes, string prefix ) : void
EditModeShouldBeEnabledWhen ( bool>.Func funcWhichVerifiesRequesterIsAllowedToEdit ) : ConfigurationBuilder
WhenCacheRefreshes ( System.Action action ) : ConfigurationBuilder
WhenContentIsRequested ( string>.Action action ) : ConfigurationBuilder
WithFilters ( ) : ConfigurationBuilder

Method Details

ConfigurationBuilder() public method

public ConfigurationBuilder ( IContentService contentService ) : System
contentService IContentService
return System

ConfigureEditRoute() public method

public ConfigureEditRoute ( RouteCollection routes, string prefix ) : void
routes RouteCollection
prefix string
return void

EditModeShouldBeEnabledWhen() public method

public EditModeShouldBeEnabledWhen ( bool>.Func funcWhichVerifiesRequesterIsAllowedToEdit ) : ConfigurationBuilder
funcWhichVerifiesRequesterIsAllowedToEdit bool>.Func
return ConfigurationBuilder

WhenCacheRefreshes() public method

public WhenCacheRefreshes ( System.Action action ) : ConfigurationBuilder
action System.Action
return ConfigurationBuilder

WhenContentIsRequested() public method

public WhenContentIsRequested ( string>.Action action ) : ConfigurationBuilder
action string>.Action
return ConfigurationBuilder

WithFilters() public method

public WithFilters ( ) : ConfigurationBuilder
return ConfigurationBuilder