public void Remove(ServiceNameElement element)
 {
     if (element == null)
     {
         throw new ArgumentNullException("element");
     }
     base.BaseRemove(element.Key);
 }
 public void Remove(ServiceNameElement element)
 {
     if (element == null)
     {
         throw new ArgumentNullException("element");
     }
     BaseRemove(element.Key);
 }
 public static void CopyFrom(ExtendedProtectionPolicyElement source, ExtendedProtectionPolicyElement destination)
 {
     destination.PolicyEnforcement = source.PolicyEnforcement;
     destination.ProtectionScenario = source.ProtectionScenario;
     destination.CustomServiceNames.Clear();
     foreach (ServiceNameElement sourceEntry in source.CustomServiceNames)
     {
         ServiceNameElement entry = new ServiceNameElement();
         entry.Name = sourceEntry.Name;
         destination.CustomServiceNames.Add(entry);
     }
 }
        public static void InitializeFrom(ExtendedProtectionPolicy source, ExtendedProtectionPolicyElement destination)
        {
            if (!IsDefaultPolicy(source))
            {
                destination.PolicyEnforcement = source.PolicyEnforcement;
                destination.ProtectionScenario = source.ProtectionScenario;
                destination.CustomServiceNames.Clear();

                if (source.CustomServiceNames != null)
                {
                    foreach (string name in source.CustomServiceNames)
                    {
                        ServiceNameElement entry = new ServiceNameElement();
                        entry.Name = name;
                        destination.CustomServiceNames.Add(entry);
                    }
                }
            }
        }
 public int IndexOf(ServiceNameElement element)
 {
     return base.BaseIndexOf(element);
 }
 public int IndexOf(ServiceNameElement element)
 {
   return default(int);
 }
		public void Remove (ServiceNameElement element)
		{
			throw new NotImplementedException ();
		}
		public int IndexOf (ServiceNameElement element)
		{
			throw new NotImplementedException ();
		}
Beispiel #12
0
 public int IndexOf(ServiceNameElement element)
 {
     throw new NotImplementedException();
 }
 public int IndexOf(ServiceNameElement element)
 {
     return(BaseIndexOf(element));
 }
 public void Add(ServiceNameElement element)
 {
     BaseAdd(element);
 }
 public int IndexOf(ServiceNameElement element)
 {
     return(default(int));
 }
 public void Add(ServiceNameElement element)
 {
     this.BaseAdd(element);
 }
Beispiel #18
0
 public void Remove(ServiceNameElement element)
 {
     throw new NotImplementedException();
 }