public CustomDataExchangerAttribute(LimitExchangeType limitExchangeType)
 {
     LimitationMode = limitExchangeType;
 }
Exemple #2
0
 /// <summary>
 /// constructor of this attrib neeed your strategy mode
 /// </summary>
 /// <param name="mode">strategy mode</param>
 public SkipDataExchangeAttribute(LimitExchangeType mode)
 {
     Mode = mode;
 }
Exemple #3
0
 /// <summary>
 /// constructor of this attrib neeed your strategy mode
 /// </summary>
 /// <param name="mode">strategy mode</param>
 /// <param name="exchangerTypes">exchange types</param>
 public DataExchangeConverter(LimitExchangeType mode, params CustomDataExchanger[] exchangerTypes)
 {
     Mode           = mode;
     ExchangerTypes = exchangerTypes;
 }