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