Class ResolverProvider
Supports all classes in the .NET class hierarchy and provides low-level services to derived classes. This is the ultimate base class of all .NET classes; it is the root of the type hierarchy.
Implements
Inherited Members
Namespace: Microsoft.GNS.Roster.Service
Assembly: Microsoft.GNS.Roster.Service.dll
Syntax
public class ResolverProvider : 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<string, Task<T>> | An async resolver method. |
Type Parameters
| Name | Description |
|---|---|
| T | The type to resolve. |