public ProxySelect(string name, IDictionaryProxy proxy, Type itemType, bool allowDerived, IDictionary dictionary)
 {
     Name         = name;
     Proxy        = proxy;
     ItemType     = itemType;
     AllowDerived = allowDerived;
     Dictionary   = dictionary;
 }
        private void Setup(IDictionaryProxy proxy)
        {
            Clear();

            Control = new DictionaryControl(proxy);

            Add(Control);
            AddToClassList(UssClassName);
        }
        public DictionaryControl(IDictionaryProxy proxy) : base(true)
        {
            Proxy = proxy;

            CreateFrame();
            SetupDragging();
            Refresh();

            AddToClassList(UssClassName);
            this.AddStyleSheet(Configuration.ElementsPath, Stylesheet);
        }
 public MatchingEngine(IDictionaryProxy dictionaryProxy,
                       IAccountInfoRepository accountInfoRepository, IAssetPairQuoteRepository assetPairQuoteRepository,
                       IMarketOrderRepository marketOrderRepository, IPendingOrderRepository pendingOrderRepository,
                       ITransactionHistoryRepository transactionHistoryRepository, IOrderCalculator orderCalculator,
                       IMatchingEngineEventSubscriber matchingEngineEventSubscriber, IOrderBookService orderBookService)
 {
     _dictionaryProxy               = dictionaryProxy;
     _accountInfoRepository         = accountInfoRepository;
     _assetPairQuoteRepository      = assetPairQuoteRepository;
     _marketOrderRepository         = marketOrderRepository;
     _pendingOrderRepository        = pendingOrderRepository;
     _transactionHistoryRepository  = transactionHistoryRepository;
     _orderCalculator               = orderCalculator;
     _matchingEngineEventSubscriber = matchingEngineEventSubscriber;
     _orderBookService              = orderBookService;
 }
 public void Setup(SerializedProperty keysProperty, IDictionaryProxy proxy)
 {
     bindingPath = keysProperty.propertyPath;
     Setup(proxy);
 }
示例#6
0
 public OrderBookService(IAssetPairQuoteRepository assetPairQuoteRepository, IDictionaryProxy dictionaryProxy)
 {
     _assetPairQuoteRepository = assetPairQuoteRepository;
     _dictionaryProxy          = dictionaryProxy;
 }
示例#7
0
 public OrderCalculator(IAssetPairQuoteRepository assetPairQuoteRepository, IDictionaryProxy dictionaryProxy)
 {
     _assetPairQuoteRepository = assetPairQuoteRepository;
     _dictionaryProxy          = dictionaryProxy;
 }