Exemple #1
0
 public bool IsMatch(WASSourceSettings settings)
 {
     if (id != null)
     {
         return(settings.Id == id);
     }
     else
     {
         return(settings.Id == null && settings.Role == role);
     }
 }
Exemple #2
0
 public void CopyTo(WASSourceSettings settings)
 {
     settings.Role         = role;
     settings.Id           = id;
     settings.FriendlyName = name;
 }