ResourceAccessAttributeExtensionsGetResourceName Method
Gets the name of the resource, falling back on data from the controller action descriptor.
Namespace: Gemstone.Security.AccessControlAssembly: Gemstone.Security (in Gemstone.Security.dll) Version: 1.0.147 -- Release Build+3014b8a0edc553e56f868ef31b6f0f5012f8db4f
<ExtensionAttribute>
Public Shared Function GetResourceName (
attributes As IEnumerable(Of ResourceAccessAttribute),
descriptor As ControllerActionDescriptor
) As String
public:
[ExtensionAttribute]
static String^ GetResourceName(
IEnumerable<ResourceAccessAttribute^>^ attributes,
ControllerActionDescriptor^ descriptor
)
Gemstone.Security.AccessControl.ResourceAccessAttributeExtensions.GetResourceName = function(attributes, descriptor);
- attributes IEnumerableResourceAccessAttribute
- The list of attributes defining resource access requirements in ascending order of precedence
- descriptor ControllerActionDescriptor
- The descriptor providing info about the controller being accessed
StringThe name of the resource.In Visual Basic and C#, you can call this method as an instance method on any object of type
IEnumerableResourceAccessAttribute. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).