public BrokerOrderField this[string name]
 {
     get
     {
         SmartQuant.Providers.BrokerOrderField[] array = this.fields;
         for (int i = 0; i < array.Length; i++)
         {
             SmartQuant.Providers.BrokerOrderField brokerOrderField = array[i];
             if (brokerOrderField.Name == name)
             {
                 return(new BrokerOrderField(brokerOrderField));
             }
         }
         return(null);
     }
 }
 public IEnumerator GetEnumerator()
 {
     try
     {
         SmartQuant.Providers.BrokerOrderField[] array = this.fields;
         for (int i = 0; i < array.Length; i++)
         {
             SmartQuant.Providers.BrokerOrderField field = array[i];
             yield return(new BrokerOrderField(field));
         }
     }
     finally
     {
     }
     yield break;
 }
示例#3
0
 internal BrokerOrderField(SmartQuant.Providers.BrokerOrderField field)
 {
     this.field = field;
 }
		internal BrokerOrderField(SmartQuant.Providers.BrokerOrderField field)
		{
			this.field = field;
		}