public void MultipleApiVersions( IEnumerable <Info> apiVersions, Func <ApiDescription, string, bool> versionSupportResolver) { ApiVersions.Clear(); foreach (var version in apiVersions) { ApiVersions.Add(version); } VersionSupportResolver = versionSupportResolver; }
public void SingleApiVersion(Info info) { ApiVersions.Clear(); ApiVersions.Add(info); VersionSupportResolver = null; }