public object Add(ComContract c, string[] derivativeSecTypes) { var rval = new ComContractDescription(c, derivativeSecTypes); Cdl.Add(rval); return(rval); }
public ComContractDescription(ComContract contract, string[] derivativeSecTypes) { this.Contract = contract; this.data.DerivativeSecTypes = derivativeSecTypes.OfType <string>().ToArray(); }