public NSurveyFormPrincipal(INSurveyIdentity identity, string[] rights)
 {
     this._identity = identity;
     if ((rights != null) && (rights.Length > 0))
     {
         foreach (string str in rights)
         {
             if (str.Length > 0)
             {
                 NSurveyRights key = (NSurveyRights) Enum.Parse(typeof(NSurveyRights), str);
                 this._rights.Add(key, key);
             }
         }
     }
 }
예제 #2
0
 public NSurveyFormPrincipal(INSurveyIdentity identity, string[] rights)
 {
     this._identity = identity;
     if ((rights != null) && (rights.Length > 0))
     {
         foreach (string str in rights)
         {
             if (str.Length > 0)
             {
                 NSurveyRights key = (NSurveyRights)Enum.Parse(typeof(NSurveyRights), str);
                 this._rights.Add(key, key);
             }
         }
     }
 }