Пример #1
0
 public MetadataFilterProvider(MetadataToHttpResponseAttribute filter)
 {
     _filter = filter;
 }
 public MetadataFilterProvider(MetadataToHttpResponseAttribute filter) {
   _filter = filter;
 }
Пример #3
0
 /// <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);
 }