C# Class Microsoft.Legal.MatterCenter.CreateSampleData.Program

This class is the entry point for the application
显示文件 Open project: Microsoft/mattercenter

Public Methods

Method Description
Main ( string args ) : void

Main Method to initiate the execution

Private Methods

Method Description
AssociateTermStoreProperties ( List listval, TermSets terms, MatterMetadata matterMetadata, int count, List practiceGroupsList, List areaOfLawsList, List subAreaOfLawsList, string &folders, string &documentTemplate, bool &flag ) : void

Method to associate

CheckMatterCreationStatus ( string>.Dictionary configVal, int &successMatterNameCount, int &alreadyExistsMatterCount, Regex validateMatterId, Regex validateMatterTitle, Regex validateMatterDesc, MatterMetadata matterMetadata, string clientName, Client client, string folders, string contentTypes, Matter matterObj, ClientContext clientContext ) : void

Method to check matter creation status

CreateData ( List listval, ClientTermSets clientDetails, string>.Dictionary configVal ) : void

Creates sample data based on the information provided

OnMatterCreationSuccess ( string>.Dictionary configVal, int successMatterNameCount, MatterMetadata matterMetadata, string clientName, Client client, string contentTypes, Matter matterObj, ClientContext clientContext ) : int

Created to refactor CreateData method

RevertData ( List matterDetailsCollection, ClientTermSets clientCollection, string>.Dictionary configVal ) : void

Reverts the changes for sample data based on the information provided

Method Details

Main() public static method

Main Method to initiate the execution
public static Main ( string args ) : void
args string Command line argument
return void