C# Class RandomGen.Gen

Show file Open project: aliostad/RandomGen Class Usage Examples

Public Methods

Method Description
Change ( System.DateTime date ) : IDateChange
Change ( DateTimeOffset date ) : IDateTimeOffsetChange
Change ( decimal amount ) : IDecimalChange
Change ( double amount ) : IDoubleChange
Change ( int amount ) : IIntChange
Change ( long amount ) : ILongChange
WithSeed ( int seed ) : IGen

Private Methods

Method Description
CreateRandomSeed ( ) : int
GetResourceJson ( string fileName ) : string[]
GetResourceStrings ( string fileName ) : string[]

Method Details

Change() public static method

public static Change ( System.DateTime date ) : IDateChange
date System.DateTime
return IDateChange

Change() public static method

public static Change ( DateTimeOffset date ) : IDateTimeOffsetChange
date DateTimeOffset
return IDateTimeOffsetChange

Change() public static method

public static Change ( decimal amount ) : IDecimalChange
amount decimal
return IDecimalChange

Change() public static method

public static Change ( double amount ) : IDoubleChange
amount double
return IDoubleChange

Change() public static method

public static Change ( int amount ) : IIntChange
amount int
return IIntChange

Change() public static method

public static Change ( long amount ) : ILongChange
amount long
return ILongChange

WithSeed() public static method

public static WithSeed ( int seed ) : IGen
seed int
return IGen