C# Класс Microsoft.Legal.MatterCenter.Repository.TaxonomyRepository

This class will talk to Taxonomy class which will handle all the request and response to SPO from term store perspective
Наследование: ITaxonomyRepository
Показать файл Открыть проект

Открытые методы

Метод Описание
GetCurrentSiteName ( Client client ) : string

This method will get the current SPO site title for the url that is there in the client object. This is a test method and will be removed later

GetTaxonomyHierarchyAsync ( TermStoreViewModel termStoreViewModel ) : Task

This method will get the taxonomy hierarchy object for the given search criterai and return to the service

TaxonomyRepository ( ISPOAuthorization spoAuthorization, ITaxonomy taxonomy, ISite site ) : Microsoft.Legal.MatterCenter.Models

All the required dependencies are injected into constructor

Описание методов

GetCurrentSiteName() публичный Метод

This method will get the current SPO site title for the url that is there in the client object. This is a test method and will be removed later
public GetCurrentSiteName ( Client client ) : string
client Microsoft.Legal.MatterCenter.Models.Client
Результат string

GetTaxonomyHierarchyAsync() публичный Метод

This method will get the taxonomy hierarchy object for the given search criterai and return to the service
public GetTaxonomyHierarchyAsync ( TermStoreViewModel termStoreViewModel ) : Task
termStoreViewModel Microsoft.Legal.MatterCenter.Models.TermStoreViewModel The request object for which the taxonomy has to be retrieved
Результат Task

TaxonomyRepository() публичный Метод

All the required dependencies are injected into constructor
public TaxonomyRepository ( ISPOAuthorization spoAuthorization, ITaxonomy taxonomy, ISite site ) : Microsoft.Legal.MatterCenter.Models
spoAuthorization ISPOAuthorization
taxonomy ITaxonomy
site ISite
Результат Microsoft.Legal.MatterCenter.Models