internal DefinitionIdentity(System.Deployment.Internal.Isolation.IDefinitionIdentity i)
 {
     if (i == null)
     {
         throw new ArgumentNullException();
     }
     this._id = i;
 }
 public StoreOperationStageComponent(System.Deployment.Internal.Isolation.IDefinitionAppId app, System.Deployment.Internal.Isolation.IDefinitionIdentity comp, string Manifest)
 {
     this.Size         = (uint)Marshal.SizeOf(typeof(System.Deployment.Internal.Isolation.StoreOperationStageComponent));
     this.Flags        = OpFlags.Nothing;
     this.Application  = app;
     this.Component    = comp;
     this.ManifestPath = Manifest;
 }
 public StoreOperationStageComponent(System.Deployment.Internal.Isolation.IDefinitionAppId app, System.Deployment.Internal.Isolation.IDefinitionIdentity comp, string Manifest)
 {
     this.Size = (uint) Marshal.SizeOf(typeof(System.Deployment.Internal.Isolation.StoreOperationStageComponent));
     this.Flags = OpFlags.Nothing;
     this.Application = app;
     this.Component = comp;
     this.ManifestPath = Manifest;
 }
 public StoreOperationStageComponentFile(System.Deployment.Internal.Isolation.IDefinitionAppId App, System.Deployment.Internal.Isolation.IDefinitionIdentity Component, string CompRelPath, string SrcFile)
 {
     this.Size = (uint) Marshal.SizeOf(typeof(System.Deployment.Internal.Isolation.StoreOperationStageComponentFile));
     this.Flags = OpFlags.Nothing;
     this.Application = App;
     this.Component = Component;
     this.ComponentRelativePath = CompRelPath;
     this.SourceFilePath = SrcFile;
 }
Esempio n. 5
0
 public StoreOperationStageComponentFile(System.Deployment.Internal.Isolation.IDefinitionAppId App, System.Deployment.Internal.Isolation.IDefinitionIdentity Component, string CompRelPath, string SrcFile)
 {
     this.Size                  = (uint)Marshal.SizeOf(typeof(System.Deployment.Internal.Isolation.StoreOperationStageComponentFile));
     this.Flags                 = OpFlags.Nothing;
     this.Application           = App;
     this.Component             = Component;
     this.ComponentRelativePath = CompRelPath;
     this.SourceFilePath        = SrcFile;
 }
Esempio n. 6
0
 public bool MoveNext()
 {
     if (this._enum.Next(1, this._fetchList) == 1)
     {
         this._current = this._fetchList[0];
         return(true);
     }
     this._current = null;
     return(false);
 }
        public System.Deployment.Internal.Isolation.IEnumSTORE_ASSEMBLY_INSTALLATION_REFERENCE EnumInstallationReferences(EnumAssemblyInstallReferenceFlags Flags, System.Deployment.Internal.Isolation.IDefinitionIdentity Assembly)
        {
            Guid guidOfType = System.Deployment.Internal.Isolation.IsolationInterop.GetGuidOfType(typeof(System.Deployment.Internal.Isolation.IEnumSTORE_ASSEMBLY_INSTALLATION_REFERENCE));

            return((System.Deployment.Internal.Isolation.IEnumSTORE_ASSEMBLY_INSTALLATION_REFERENCE) this._pStore.EnumInstallationReferences((uint)Flags, Assembly, ref guidOfType));
        }
        public System.Deployment.Internal.Isolation.StoreAssemblyFileEnumeration EnumFiles(EnumAssemblyFilesFlags Flags, System.Deployment.Internal.Isolation.IDefinitionIdentity Assembly)
        {
            Guid guidOfType = System.Deployment.Internal.Isolation.IsolationInterop.GetGuidOfType(typeof(System.Deployment.Internal.Isolation.IEnumSTORE_ASSEMBLY_FILE));

            return(new System.Deployment.Internal.Isolation.StoreAssemblyFileEnumeration((System.Deployment.Internal.Isolation.IEnumSTORE_ASSEMBLY_FILE) this._pStore.EnumFiles((uint)Flags, Assembly, ref guidOfType)));
        }
        public System.Deployment.Internal.Isolation.StoreCategoryInstanceEnumeration EnumCategoryInstances(EnumCategoryInstancesFlags Flags, System.Deployment.Internal.Isolation.IDefinitionIdentity Category, string SubCat)
        {
            Guid guidOfType = System.Deployment.Internal.Isolation.IsolationInterop.GetGuidOfType(typeof(System.Deployment.Internal.Isolation.IEnumSTORE_CATEGORY_INSTANCE));

            return(new System.Deployment.Internal.Isolation.StoreCategoryInstanceEnumeration((System.Deployment.Internal.Isolation.IEnumSTORE_CATEGORY_INSTANCE) this._pStore.EnumCategoryInstances((uint)Flags, Category, SubCat, ref guidOfType)));
        }
Esempio n. 10
0
 public ulong QueryChangeID(System.Deployment.Internal.Isolation.IDefinitionIdentity asm)
 {
     return(this._pStore.QueryChangeID(asm));
 }
Esempio n. 11
0
        public IPathLock LockAssemblyPath(System.Deployment.Internal.Isolation.IDefinitionIdentity asm)
        {
            IntPtr ptr;

            return(new AssemblyPathLock(this._pStore, ptr, this._pStore.LockAssemblyPath(0, asm, out ptr)));
        }
Esempio n. 12
0
        public System.Deployment.Internal.Isolation.Manifest.ICMS GetAssemblyManifest(uint Flags, System.Deployment.Internal.Isolation.IDefinitionIdentity DefinitionIdentity)
        {
            Guid riid = System.Deployment.Internal.Isolation.IsolationInterop.IID_ICMS;

            return((System.Deployment.Internal.Isolation.Manifest.ICMS) this._pStore.GetAssemblyInformation(Flags, DefinitionIdentity, ref riid));
        }
Esempio n. 13
0
        public System.Deployment.Internal.Isolation.StoreSubcategoryEnumeration EnumSubcategories(EnumSubcategoriesFlags Flags, System.Deployment.Internal.Isolation.IDefinitionIdentity Category, string SearchPattern)
        {
            Guid guidOfType = System.Deployment.Internal.Isolation.IsolationInterop.GetGuidOfType(typeof(System.Deployment.Internal.Isolation.IEnumSTORE_CATEGORY_SUBCATEGORY));

            return(new System.Deployment.Internal.Isolation.StoreSubcategoryEnumeration((System.Deployment.Internal.Isolation.IEnumSTORE_CATEGORY_SUBCATEGORY) this._pStore.EnumSubcategories((uint)Flags, Category, SearchPattern, ref guidOfType)));
        }
Esempio n. 14
0
 public System.Deployment.Internal.Isolation.StoreSubcategoryEnumeration EnumSubcategories(EnumSubcategoriesFlags Flags, System.Deployment.Internal.Isolation.IDefinitionIdentity CategoryMatch)
 {
     return(this.EnumSubcategories(Flags, CategoryMatch, null));
 }
Esempio n. 15
0
 public void Reset()
 {
     this._current = null;
     this._enum.Reset();
 }