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