public DotNetPrototype(ReferenceType state) { State = state; }
/// <summary> /// Intentionaly not using ICloneable here /// </summary> /// <returns></returns> public override Prototype Clone() { var newState = new ReferenceType(State.Number, State.Str); return(new ConcretePrototype(newState) as Prototype); }
public ConcretePrototype(ReferenceType state) : base(state) { }
public Prototype(ReferenceType state) { State = state; }