Exemplo n.º 1
0
 public static void ExecuteMethod_AddProcessObjectToContainerAndStoreBoth(ProcessContainer ownerProcessContainer, Process process)
 {
     if(ownerProcessContainer.ProcessIDs == null)
         ownerProcessContainer.ProcessIDs = new List<string>();
     ownerProcessContainer.ProcessIDs.Add(process.ID);
     ownerProcessContainer.StoreInformation();
     process.StoreInformation();
 }
Exemplo n.º 2
0
 public static ProcessContainer GetTarget_OwnerProcessContainer()
 {
     var processContainer = ProcessContainer.RetrieveFromOwnerContent(InformationContext.CurrentOwner, "default");
     if (processContainer == null)
     {
         processContainer = new ProcessContainer();
         processContainer.SetLocationAsOwnerContent(InformationContext.CurrentOwner, "default");
     }
     return processContainer;
 }
Exemplo n.º 3
0
partial         static void CreateCustomDemo(ref ProcessContainer customDemoObject);