private static CustomisationSecurity[] cloneSecurities(CustomisationSecurity[] orig) { CustomisationSecurity[] clone = new CustomisationSecurity[orig.Length]; int i = 0; foreach (CustomisationSecurity sec in orig) { clone[i] = new CustomisationSecurity(sec); i++; } return(clone); }
public CustomisationSecurity(CustomisationSecurity orig) { _principalId = orig.PrincipalId; _principalName = orig.PrincipalName; _visibility = orig.Visibility; }