protected void AddEditorialVideoType(EditorialVideo value) { if (QueryParameters.ContainsKey(Constants.EditorialVideoKey)) { QueryParameters[Constants.EditorialVideoKey] = value == EditorialVideo.None ? value : (EditorialVideo)QueryParameters[Constants.EditorialVideoKey] | value; } else { QueryParameters.Add(Constants.EditorialVideoKey, value); } }
public SearchVideosEditorial WithEditorialVideoType(EditorialVideo value) { AddEditorialVideoType(value); return(this); }