GetGuidOfType() static private method

static private GetGuidOfType ( Type type ) : System.Guid
type System.Type
return System.Guid
Beispiel #1
0
        public StoreSubcategoryEnumeration EnumSubcategories(Store.EnumSubcategoriesFlags Flags, IDefinitionIdentity Category, string SearchPattern)
        {
            Guid   guidOfType = IsolationInterop.GetGuidOfType(typeof(IEnumSTORE_CATEGORY_SUBCATEGORY));
            object obj        = this._pStore.EnumSubcategories((uint)Flags, Category, SearchPattern, ref guidOfType);

            return(new StoreSubcategoryEnumeration((IEnumSTORE_CATEGORY_SUBCATEGORY)obj));
        }
Beispiel #2
0
        public StoreCategoryInstanceEnumeration EnumCategoryInstances(Store.EnumCategoryInstancesFlags Flags, IDefinitionIdentity Category, string SubCat)
        {
            Guid   guidOfType = IsolationInterop.GetGuidOfType(typeof(IEnumSTORE_CATEGORY_INSTANCE));
            object obj        = this._pStore.EnumCategoryInstances((uint)Flags, Category, SubCat, ref guidOfType);

            return(new StoreCategoryInstanceEnumeration((IEnumSTORE_CATEGORY_INSTANCE)obj));
        }
Beispiel #3
0
        public StoreCategoryEnumeration EnumCategories(Store.EnumCategoriesFlags Flags, IReferenceIdentity CategoryMatch)
        {
            Guid   guidOfType = IsolationInterop.GetGuidOfType(typeof(IEnumSTORE_CATEGORY));
            object obj        = this._pStore.EnumCategories((uint)Flags, CategoryMatch, ref guidOfType);

            return(new StoreCategoryEnumeration((IEnumSTORE_CATEGORY)obj));
        }
Beispiel #4
0
        public IEnumSTORE_ASSEMBLY_INSTALLATION_REFERENCE EnumInstallationReferences(Store.EnumAssemblyInstallReferenceFlags Flags, IDefinitionIdentity Assembly)
        {
            Guid   guidOfType = IsolationInterop.GetGuidOfType(typeof(IEnumSTORE_ASSEMBLY_INSTALLATION_REFERENCE));
            object obj        = this._pStore.EnumInstallationReferences((uint)Flags, Assembly, ref guidOfType);

            return((IEnumSTORE_ASSEMBLY_INSTALLATION_REFERENCE)obj);
        }
Beispiel #5
0
        public StoreAssemblyFileEnumeration EnumPrivateFiles(Store.EnumApplicationPrivateFiles Flags, IDefinitionAppId Application, IDefinitionIdentity Assembly)
        {
            Guid   guidOfType = IsolationInterop.GetGuidOfType(typeof(IEnumSTORE_ASSEMBLY_FILE));
            object obj        = this._pStore.EnumPrivateFiles((uint)Flags, Application, Assembly, ref guidOfType);

            return(new StoreAssemblyFileEnumeration((IEnumSTORE_ASSEMBLY_FILE)obj));
        }
Beispiel #6
0
        public StoreAssemblyEnumeration EnumAssemblies(Store.EnumAssembliesFlags Flags, IReferenceIdentity refToMatch)
        {
            Guid   guidOfType = IsolationInterop.GetGuidOfType(typeof(IEnumSTORE_ASSEMBLY));
            object obj        = this._pStore.EnumAssemblies((uint)Flags, refToMatch, ref guidOfType);

            return(new StoreAssemblyEnumeration((IEnumSTORE_ASSEMBLY)obj));
        }
        public StoreAssemblyFileEnumeration EnumFiles(EnumAssemblyFilesFlags Flags, IDefinitionIdentity Assembly)
        {
            Guid guidOfType = IsolationInterop.GetGuidOfType(typeof(IEnumSTORE_ASSEMBLY_FILE));

            return(new StoreAssemblyFileEnumeration((IEnumSTORE_ASSEMBLY_FILE)this._pStore.EnumFiles((uint)Flags, Assembly, ref guidOfType)));
        }