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