public MetadataFilterProvider(MetadataToHttpResponseAttribute filter) { _filter = filter; }
/// <summary> /// Return the Metadata <see cref="IFilterProvider"/> for a Breeze Controller /// </summary> /// <remarks> /// By default returns an <see cref="MetadataToHttpResponseAttribute"/>. /// Override to substitute a custom provider. /// </remarks> protected virtual IFilterProvider GetMetadataFilterProvider(MetadataToHttpResponseAttribute metadataFilter) { return new MetadataFilterProvider(metadataFilter); }
/// <summary> /// Return the Metadata <see cref="IFilterProvider"/> for a Breeze Controller /// </summary> /// <remarks> /// By default returns an <see cref="MetadataToHttpResponseAttribute"/>. /// Override to substitute a custom provider. /// </remarks> protected virtual IFilterProvider GetMetadataFilterProvider(MetadataToHttpResponseAttribute metadataFilter) { return(new MetadataFilterProvider(metadataFilter)); }