This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System.ServiceModel.Channels; | |
using System.ServiceModel.Description; | |
using System.ServiceModel.Dispatcher; | |
internal class ReportingServicesEndpointBehavior : IEndpointBehavior | |
{ | |
public void AddBindingParameters(ServiceEndpoint endpoint, BindingParameterCollection bindingParameters) { } | |
public void ApplyClientBehavior(ServiceEndpoint endpoint, ClientRuntime clientRuntime) | |
{ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public static class SelectListExtensionMethods | |
{ | |
/// <summary> | |
/// The SelectListItem to use by default as the placeholder for select lists generated by these extension methods when the user needs to pick a value. | |
/// </summary> | |
public static readonly SelectListItem DefaultEmptySelectListItem = new SelectListItem() { Text = "-- Pick One --", Value = string.Empty }; | |
/// <summary> | |
/// The SelectListItem to use by default as the placeholder for select lists generated by these extension methods when not picking a value is the same as using as of the possible choices (meant for filtering typically) | |
/// </summary> | |
public static readonly SelectListItem AnySelectListItem = new SelectListItem() { Text = "-- Any --", Value = string.Empty }; |
NewerOlder