public string WriteOptions(SearchOptions options) { Contract.Requires(options != null); options.Minimize(); var dto = MapToDto(options); return(WriteOptionsInner(dto)); }