C# Class _3PA.MainFeatures.Pro.FileTag

Mostrar archivo Open project: jcaillon/3P Class Usage Examples

Public Methods

Method Description
Contains ( string filename ) : bool
DeleteFileTags ( string filename, string correctionNumber ) : bool
Export ( ) : void

Save the dicitonnary containing the file info

GetFileTags ( string filename, string nb ) : FileTagObject
GetFileTagsList ( string filename ) : List
GetLastFileTag ( string filename ) : FileTagObject
Import ( ) : void

Load the dictionnary of file info

ReplaceTokens ( FileTagObject fileTagObject, string tagString ) : string

Call this method to replace the variables inside your tags template (e.g. {&a }) to their actual values

SetFileTags ( string filename, string nb, string date, string text, string nomAppli, string version, string chantier, string jira ) : void

Method Details

Contains() public static method

public static Contains ( string filename ) : bool
filename string
return bool

DeleteFileTags() public static method

public static DeleteFileTags ( string filename, string correctionNumber ) : bool
filename string
correctionNumber string
return bool

Export() public static method

Save the dicitonnary containing the file info
public static Export ( ) : void
return void

GetFileTags() public static method

public static GetFileTags ( string filename, string nb ) : FileTagObject
filename string
nb string
return FileTagObject

GetFileTagsList() public static method

public static GetFileTagsList ( string filename ) : List
filename string
return List

GetLastFileTag() public static method

public static GetLastFileTag ( string filename ) : FileTagObject
filename string
return FileTagObject

Import() public static method

Load the dictionnary of file info
public static Import ( ) : void
return void

ReplaceTokens() public static method

Call this method to replace the variables inside your tags template (e.g. {&a }) to their actual values
public static ReplaceTokens ( FileTagObject fileTagObject, string tagString ) : string
fileTagObject FileTagObject
tagString string
return string

SetFileTags() public static method

public static SetFileTags ( string filename, string nb, string date, string text, string nomAppli, string version, string chantier, string jira ) : void
filename string
nb string
date string
text string
nomAppli string
version string
chantier string
jira string
return void