public WrappedGenerator1ServerDirectorNET(Generator1 <ReturnType, ParamType> generator) { if (generator == null) { throw new NullReferenceException("Generator must not be null"); } this.generator = generator; this.objectheapid = RRObjectHeap.AddObject(this); }
public override float GetMinValue() { if (operation == Operation.Add || operation == Operation.Subtract) { return(Generator1.GetMinValue() + Generator2.GetMinValue()); } return(Math.Min(Generator1.GetMinValue(), Generator2.GetMinValue())); }
public override float GetMinValue() { return(Math.Min(Generator1.GetMinValue(), Generator2.GetMinValue())); }