protected EditorFactoryRegistrationAttribute(Type factoryType, short nameResourceID) { Contract.Requires<ArgumentNullException>(factoryType != null, "factoryType"); _factoryType = factoryType; _nameResourceID = nameResourceID; _trustLevel = __VSEDITORTRUSTLEVEL.ETL_NeverTrusted; }
protected EditorFactoryRegistrationAttribute([NotNull] Type factoryType, short nameResourceID) { Requires.NotNull(factoryType, nameof(factoryType)); _factoryType = factoryType; _nameResourceID = nameResourceID; _trustLevel = __VSEDITORTRUSTLEVEL.ETL_NeverTrusted; }
protected EditorFactoryRegistrationAttribute(Type factoryType, short nameResourceID) { Contract.Requires <ArgumentNullException>(factoryType != null, "factoryType"); _factoryType = factoryType; _nameResourceID = nameResourceID; _trustLevel = __VSEDITORTRUSTLEVEL.ETL_NeverTrusted; }