C# Class FlipperDotNet.Feature

Datei anzeigen Open project: paybyphone/flipperdotnet

Public Methods

Method Description
Disable ( ) : void
DisableActor ( IFlipperActor actor ) : void
DisablePercentageOfActors ( ) : void
DisablePercentageOfTime ( ) : void
Enable ( ) : void
EnableActor ( IFlipperActor actor ) : void
EnablePercentageOfActors ( int percentage ) : void
EnablePercentageOfTime ( int percentage ) : void
Feature ( string name, IAdapter adapter ) : System
Feature ( string name, IAdapter adapter, IInstrumenter instrumenter ) : System
Gate ( string name ) : IGate
IsEnabled ( ) : bool
IsEnabledFor ( IFlipperActor actor ) : bool

Private Methods

Method Description
Disable ( IGate gate, object value ) : void
Enable ( IGate gate, object value ) : void
IsEnabled ( object thing ) : bool
ValidatePercentage ( int percentage ) : void

Method Details

Disable() public method

public Disable ( ) : void
return void

DisableActor() public method

public DisableActor ( IFlipperActor actor ) : void
actor IFlipperActor
return void

DisablePercentageOfActors() public method

public DisablePercentageOfActors ( ) : void
return void

DisablePercentageOfTime() public method

public DisablePercentageOfTime ( ) : void
return void

Enable() public method

public Enable ( ) : void
return void

EnableActor() public method

public EnableActor ( IFlipperActor actor ) : void
actor IFlipperActor
return void

EnablePercentageOfActors() public method

public EnablePercentageOfActors ( int percentage ) : void
percentage int
return void

EnablePercentageOfTime() public method

public EnablePercentageOfTime ( int percentage ) : void
percentage int
return void

Feature() public method

public Feature ( string name, IAdapter adapter ) : System
name string
adapter IAdapter
return System

Feature() public method

public Feature ( string name, IAdapter adapter, IInstrumenter instrumenter ) : System
name string
adapter IAdapter
instrumenter IInstrumenter
return System

Gate() public method

public Gate ( string name ) : IGate
name string
return IGate

IsEnabled() public method

public IsEnabled ( ) : bool
return bool

IsEnabledFor() public method

public IsEnabledFor ( IFlipperActor actor ) : bool
actor IFlipperActor
return bool