Exemple #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));
        }
 static ExtensionThreadManager()
 {
     Instance = new ExtensionThreadManager();
 }