コード例 #1
0
        public static ZipCompressionLevelEnum CreateInstance()
        {
            ZipCompressionLevelEnum instance;

            TypeDescriptor enumType;
            TypeDescriptor enumValType;

            EnumContextHelper.RegisterEnumType <ZipCompressionLevelEnum>(out enumType, out enumValType);

            instance = new ZipCompressionLevelEnum(enumType, enumValType);

            EnumContextHelper.RegisterValues <ZipCompressionLevelEnum>(instance);

            return(instance);
        }
コード例 #2
0
        public static ZipCompressionLevelEnum CreateInstance()
        {
            ZipCompressionLevelEnum instance;

            TypeDescriptor enumType;
            TypeDescriptor enumValType;

            EnumContextHelper.RegisterEnumType<ZipCompressionLevelEnum>(out enumType, out enumValType);

            instance = new ZipCompressionLevelEnum(enumType, enumValType);

            EnumContextHelper.RegisterValues<ZipCompressionLevelEnum>(instance);

            return instance;
        }