protected Binder(IInternalSymbolProvider provider, ISymbolFactory symbolFactory, bool useVirtualInstances) { if (provider == null) { throw new ArgumentNullException("provider"); } if (symbolFactory == null) { throw new ArgumentNullException("symbolFactory"); } if ((provider.SymbolsInternal != null) && (provider.SymbolsInternal.Mode != InstanceCollectionMode.PathHierarchy)) { throw new ArgumentException($"Symbol provider has to be in Mode: {InstanceCollectionMode.PathHierarchy}", "provider"); } this._provider = provider; this._useVirtualInstances = useVirtualInstances; this._symbolFactory = symbolFactory; }
internal AdsBinder(AmsAddress imageBaseAddress, IInternalSymbolProvider provider, ISymbolFactory symbolFactory, bool useVirtualInstance) : base(provider, symbolFactory, useVirtualInstance) { this._imageBaseAddress = imageBaseAddress; }