public PythonModuleAttribute(string /*!*/ name, Type /*!*/ type, PlatformsAttribute.PlatformFamily validPlatformFamily) { ContractUtils.RequiresNotNull(name, nameof(name)); ContractUtils.RequiresNotNull(type, nameof(type)); Name = name; Type = type; SetValidPlatforms(validPlatformFamily); }
public PythonHiddenAttribute(PlatformsAttribute.PlatformFamily hiddenPlatformFamily) { SetValidPlatforms(hiddenPlatformFamily); }