public void Set(QuickFix.Fields.CommType val) { this.CommType = val; }
public bool IsSet(QuickFix.Fields.CommType val) { return(IsSetCommType()); }
public QuickFix.Fields.CommType Get(QuickFix.Fields.CommType val) { GetField(val); return(val); }
public void EnumFieldTest() { CommType ct = new CommType(CommType.PER_UNIT); Assert.That('1', Is.EqualTo(ct.getValue())); ExecInst ei = new ExecInst(ExecInst.STRICT_LIMIT); Assert.That("b", Is.EqualTo(ei.getValue())); AllocStatus ass = new AllocStatus(AllocStatus.REVERSED); Assert.That(7, Is.EqualTo(ass.getValue())); }