Ejemplo n.º 1
0
        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);
        }
Ejemplo n.º 2
0
 public CustomisationSecurity(CustomisationSecurity orig)
 {
     _principalId   = orig.PrincipalId;
     _principalName = orig.PrincipalName;
     _visibility    = orig.Visibility;
 }