Ejemplo n.º 1
0
 internal ApplicationPermissionRoleEntry(string name, string[] parameters) : base(name, parameters)
 {
     if (parameters != null && parameters.Length > 0)
     {
         throw new FormatException(DataStrings.ApplicationPermissionRoleEntryParameterNotEmptyException(base.Name));
     }
 }
Ejemplo n.º 2
0
        internal ApplicationPermissionRoleEntry(string entryString)
        {
            int num = base.ExtractAndSetName(entryString);

            if (num > 0)
            {
                throw new FormatException(DataStrings.ApplicationPermissionRoleEntryParameterNotEmptyException(base.Name));
            }
            base.ExtractAndSetParameters(entryString, num);
        }