コード例 #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);
        }
コード例 #2
0
 public CustomisationSecurity(CustomisationSecurity orig)
 {
     _principalId   = orig.PrincipalId;
     _principalName = orig.PrincipalName;
     _visibility    = orig.Visibility;
 }