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 void Remove(ServiceNameElement element) { }
public int IndexOf(ServiceNameElement element) { return default(int); }
public void Add(ServiceNameElement element) { }
public void Remove (ServiceNameElement element) { throw new NotImplementedException (); }
public int IndexOf (ServiceNameElement element) { throw new NotImplementedException (); }
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); }
public void Remove(ServiceNameElement element) { throw new NotImplementedException(); }