VersionedApiResourceRegistration Class
Contains methods to add and obtain information about registered API resources
Inheritance Hierarchy
System.Object
Microsoft.TeamFoundation.Framework.Server.VersionedApiResourceRegistration
Namespace: Microsoft.TeamFoundation.Framework.Server
Assembly: Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)
Syntax
'Declaration
Public NotInheritable Class VersionedApiResourceRegistration
public static class VersionedApiResourceRegistration
public ref class VersionedApiResourceRegistration abstract sealed
[<AbstractClass>]
[<Sealed>]
type VersionedApiResourceRegistration = class end
public final class VersionedApiResourceRegistration
The VersionedApiResourceRegistration type exposes the following members.
Properties
Name | Description | |
---|---|---|
ResourceLocations | All registered API resource locations |
Top
Methods
Name | Description | |
---|---|---|
RegisterResource | Register an API resource location/route. The controller should be named {area}{resource}Controller or it can use a [VersionedApiControllerCustomName] attribute to use a non-conventional name. |
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.