Class ResolverProvider
Encapsulates functionality to help resolve Roster objects.
Inheritance
System.Object
ResolverProvider
Implements
Namespace: Microsoft.GNS.Roster.Service
Assembly: Microsoft.GNS.Roster.Service.dll
Syntax
public class ResolverProvider : object, IResolverProvider
Constructors
View SourceResolverProvider(IContainerDAL, IDocumentDAL, IOrgDAL, IProjectDAL, IRoleDAL, IToolDAL, IUserAndGroupDAL)
Initializes a new instance of the ResolverProvider class.
Declaration
public ResolverProvider(IContainerDAL containerDal, IDocumentDAL documentDal, IOrgDAL orgDal, IProjectDAL projectDal, IRoleDAL roleDal, IToolDAL toolDal, IUserAndGroupDAL uagDal)
Parameters
Type | Name | Description |
---|---|---|
IContainerDAL | containerDal | The container data access layer. |
IDocumentDAL | documentDal | The document data access layer. |
IOrgDAL | orgDal | The org data access layer. |
IProjectDAL | projectDal | The project data access layer. |
IRoleDAL | roleDal | The role data access layer. |
IToolDAL | toolDal | the tool data access layer. |
IUserAndGroupDAL | uagDal | The user and group data access layer. |
Methods
View SourceGetIdResolver<T>()
Gets a "resolve by Id" method for a given type.
Declaration
public Func<string, Task<T>> GetIdResolver<T>()
Returns
Type | Description |
---|---|
Func<System.String, Task<T>> | An async resolver method. |
Type Parameters
Name | Description |
---|---|
T | The type to resolve. |