protected EditorFactoryRegistrationAttribute(Type factoryType, short nameResourceID)
        {
            Contract.Requires<ArgumentNullException>(factoryType != null, "factoryType");

            _factoryType = factoryType;
            _nameResourceID = nameResourceID;
            _trustLevel = __VSEDITORTRUSTLEVEL.ETL_NeverTrusted;
        }
コード例 #2
0
        protected EditorFactoryRegistrationAttribute([NotNull] Type factoryType, short nameResourceID)
        {
            Requires.NotNull(factoryType, nameof(factoryType));

            _factoryType    = factoryType;
            _nameResourceID = nameResourceID;
            _trustLevel     = __VSEDITORTRUSTLEVEL.ETL_NeverTrusted;
        }
コード例 #3
0
        protected EditorFactoryRegistrationAttribute(Type factoryType, short nameResourceID)
        {
            Contract.Requires <ArgumentNullException>(factoryType != null, "factoryType");

            _factoryType    = factoryType;
            _nameResourceID = nameResourceID;
            _trustLevel     = __VSEDITORTRUSTLEVEL.ETL_NeverTrusted;
        }