C# Class FlipperDotNet.Gate.PercentageOfTimeGate

Inheritance: IGate
ファイルを表示 Open project: paybyphone/flipperdotnet Class Usage Examples

Public Methods

Method Description
IsEnabled ( object value ) : bool
IsOpen ( object thing, object value, string featureName ) : bool
PercentageOfTimeGate ( ) : System
PercentageOfTimeGate ( Random random ) : System
WrapValue ( object value ) : object

Method Details

IsEnabled() public method

public IsEnabled ( object value ) : bool
value object
return bool

IsOpen() public method

public IsOpen ( object thing, object value, string featureName ) : bool
thing object
value object
featureName string
return bool

PercentageOfTimeGate() public method

public PercentageOfTimeGate ( ) : System
return System

PercentageOfTimeGate() public method

public PercentageOfTimeGate ( Random random ) : System
random System.Random
return System

WrapValue() public method

public WrapValue ( object value ) : object
value object
return object