C# Class 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
Inheritance: ITaxonomyRepository
Exibir arquivo Open project: Microsoft/mattercenter

Public Methods

Method Description
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

Method Details

GetCurrentSiteName() public method

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
return string

GetTaxonomyHierarchyAsync() public method

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
return Task

TaxonomyRepository() public method

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
return Microsoft.Legal.MatterCenter.Models