FriendlyUrlSegmentsAttribute Class
.NET Framework 4.5
Represents an attribute that specifies that model binding values are provided by a friendly URL segment.
Inheritance Hierarchy
System.Object
System.Attribute
ValueProviderSourceAttribute
Microsoft.AspNet.FriendlyUrls.ModelBinding.FriendlyUrlSegmentsAttribute
Namespace: Microsoft.AspNet.FriendlyUrls.ModelBinding
Assembly: Microsoft.AspNet.FriendlyUrls (in Microsoft.AspNet.FriendlyUrls.dll)
Syntax
'Declaration
Public NotInheritable Class FriendlyUrlSegmentsAttribute _
Inherits ValueProviderSourceAttribute
'Usage
Dim instance As FriendlyUrlSegmentsAttribute
public sealed class FriendlyUrlSegmentsAttribute : ValueProviderSourceAttribute
public ref class FriendlyUrlSegmentsAttribute sealed : public ValueProviderSourceAttribute
[<SealedAttribute>]
type FriendlyUrlSegmentsAttribute =
class
inherit ValueProviderSourceAttribute
end
public final class FriendlyUrlSegmentsAttribute extends ValueProviderSourceAttribute
The FriendlyUrlSegmentsAttribute type exposes the following members.
Constructors
Name | Description | |
---|---|---|
FriendlyUrlSegmentsAttribute | Creates an instance of the FriendlyUrlSegmentsAttribute class. |
Top
Properties
Name | Description | |
---|---|---|
TypeId | (Inherited from Attribute.) |
Top
Methods
Name | Description | |
---|---|---|
Equals | (Inherited from Attribute.) | |
GetHashCode | (Inherited from Attribute.) | |
GetModelName | (Inherited from ValueProviderSourceAttribute.) | |
GetType | (Inherited from Object.) | |
GetValueProvider | (Overrides ValueProviderSourceAttributeGetValueProvider(ModelBindingExecutionContext).) | |
IsDefaultAttribute | (Inherited from Attribute.) | |
Match | (Inherited from Attribute.) | |
ToString | (Inherited from Object.) |
Top
Explicit Interface Implementations
Name | Description | |
---|---|---|
_Attribute.GetIDsOfNames | (Inherited from Attribute.) | |
_Attribute.GetTypeInfo | (Inherited from Attribute.) | |
_Attribute.GetTypeInfoCount | (Inherited from Attribute.) | |
_Attribute.Invoke | (Inherited from Attribute.) |
Top
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.