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
파일 보기 프로젝트 열기: Microsoft/mattercenter

공개 메소드들

메소드 설명
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