public void GetFeatures(Request request) { request.Debug("Calling '{0}::GetFeatures'", PackageProviderName); request.Yield(new Dictionary<string, string[]> { [Constants.Features.SupportedExtensions] = new[] {"xml"}, [Constants.Features.SupportedSchemes] = new[] {"http", "https", "file"} }); }
public override void GetFeatures(Request request) { base.GetFeatures(request); if (IsDisabled) request.Yield(new KeyValuePair<string, string[]>(Constants.Features.AutomationOnly, Constants.FeaturePresent)); }