Exemplo n.º 1
0
        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);
        }
Exemplo n.º 2
0
 public PythonHiddenAttribute(PlatformsAttribute.PlatformFamily hiddenPlatformFamily)
 {
     SetValidPlatforms(hiddenPlatformFamily);
 }