Пример #1
0
        public ExtensionThread(ExtensionThreadManager threadManager, Type extensionType, IExtensionWrapper wrapper)
        {
            if (threadManager == null)
            {
                throw new ArgumentNullException(nameof(threadManager));
            }

            this.extensionType = extensionType;
            Wrapper            = wrapper ?? throw new ArgumentNullException(nameof(wrapper));
        }
Пример #2
0
 static ExtensionThreadManager()
 {
     Instance = new ExtensionThreadManager();
 }