Exemplo n.º 1
0
        public CertPolicyGroup(CertPolicyGroup policy)
            : this()
        {

            Name = policy.Name;
            Description = policy.Description;
        }
Exemplo n.º 2
0
        private void OnPolicyGroupAdded(CertPolicyGroup policyGroup)
        {
            CertPolicyGroupMap map = new CertPolicyGroupMap(true);

            map.CertPolicy      = this;
            map.CertPolicyGroup = policyGroup;
        }
Exemplo n.º 3
0
        private void OnPolicyGroupRemoved(CertPolicyGroup policyGroup)
        {
            CertPolicyGroupMap map =
                CertPolicyGroupMap.SingleOrDefault(pg => pg.CertPolicy == this && pg.CertPolicyGroup == policyGroup);

            if (map != null)
            {
                map.Remove();
            }
        }
Exemplo n.º 4
0
        public void Remove( )
        {
            ConfigDatabase.RemoveAssociativeRecord(this);

            CertPolicy originalCertPolicy = CertPolicy;

            originalCertPolicy.CertPolicyGroupMap.Remove(this);

            CertPolicyGroup originalCertPolicyGroup = CertPolicyGroup;

            originalCertPolicyGroup.CertPolicyGroupMaps.Remove(this);
        }
Exemplo n.º 5
0
 private void OnPolicyGroupRemoved(CertPolicyGroup policyGroup)
 {
     CertPolicyGroupMap map =
         CertPolicyGroupMap.SingleOrDefault(pg => pg.CertPolicy == this && pg.CertPolicyGroup == policyGroup);
     if (map != null)
     {
         map.Remove();
     }
 }
Exemplo n.º 6
0
 private void OnPolicyGroupAdded(CertPolicyGroup policyGroup)
 {
     CertPolicyGroupMap map = new CertPolicyGroupMap(true);
     map.CertPolicy = this;
     map.CertPolicyGroup = policyGroup;
 }
Exemplo n.º 7
0
 internal void ApplyChanges(CertPolicyGroup source)
 {
     this.Description = source.Description;
     //this.CertPolicyGroupMap = source.CertPolicyGroupMap;
     //this.m_certPolicyGroupDomainMap.Assign(source.CertPolicyGroupDomainMap);
 }
Exemplo n.º 8
0
 internal void CopyFixed(CertPolicyGroup source)
 {
     this.ID = source.ID;
     this.Name = source.Name;
     this.CreateDate = source.CreateDate;
     
 }
Exemplo n.º 9
0
 public CertPolicyGroup(CertPolicyGroup policy)
     : this()
 {
     Name        = policy.Name;
     Description = policy.Description;
 }
Exemplo n.º 10
0
 internal void ApplyChanges(CertPolicyGroup source)
 {
     this.Description = source.Description;
     //this.CertPolicyGroupMap = source.CertPolicyGroupMap;
     //this.m_certPolicyGroupDomainMap.Assign(source.CertPolicyGroupDomainMap);
 }
Exemplo n.º 11
0
 internal void CopyFixed(CertPolicyGroup source)
 {
     this.ID         = source.ID;
     this.Name       = source.Name;
     this.CreateDate = source.CreateDate;
 }
Exemplo n.º 12
0
 public void UpdateGroupAttributes(CertPolicyGroup policyGroup)
 {
     try
     {
         Store.CertPolicyGroups.Update(policyGroup);
     }
     catch (Exception ex)
     {
         throw CreateFault("UpdateGroupAttributes", ex);
     }
 }
Exemplo n.º 13
0
 public CertPolicyGroup AddPolicyGroup(CertPolicyGroup policyGroup)
 {
     try
     {
         CertPolicyGroup certPolicyGroup = new CertPolicyGroup(policyGroup);
         return Store.CertPolicyGroups.Add(certPolicyGroup);
     }
     catch (Exception ex)
     {
         throw CreateFault("AddPolicyGroup", ex);
     }
 }