C# Class PKStudio.PortingKitWrapper

Inheritance: IDisposable
Afficher le fichier Open project: AlexandrSurkov/PKStudio

Méthodes publiques

Méthode Description
CheckLibrarProjName ( string path ) : bool
CheckLibraryCategoryName ( string name ) : bool

Checks Library Category name for uniqueness

CheckLibraryName ( string name ) : bool

Checks Library name for uniqueness

CloneLibrary ( LibraryWrapper BaseLib, string NewName, string NewGroups, string NewPath, LibraryLevelWrapper NewLevel, bool NewIsStub ) : LibraryWrapper
CloneLibraryCategory ( BaseTypedWrapper BaseLibCat, string NewName, string NewGroups, LibraryLevelWrapper NewLevel ) : LibraryCategoryWrapper
ConvertPathToEnv ( string fullpath ) : string
CopyProjFilesFromClone ( ProjectWrapper proj, SolutionWrapper solution ) : void
CopyTemplateFiles ( LibraryCategoryWrapper libcat, SolutionWrapper solution, ComponentWrapper template ) : void
CreateLibrary ( string Name, LibraryLevelWrapper Level, string Description, string ProjectPath, bool IsTemplate, ComponentWrapper LibraryCategory ) : LibraryWrapper
CreateLibrary ( string name, string groups, string path, LibraryLevelWrapper level, bool isStub ) : LibraryWrapper
CreateLibraryCategory ( string name, string groups, LibraryLevelWrapper level ) : LibraryCategoryWrapper
CreateSolution ( string Name, string Description, string Author, bool IsSolutionWizardVisible ) : SolutionWrapper
CreateSolutionDirProj ( SolutionWrapper solution ) : void
DeleteLibrary ( LibraryWrapper lib ) : void
DeleteLibraryCategoryProj ( LibraryCategoryWrapper libcat ) : void
Dispose ( ) : void
ExpandEnvVars ( string text, string path ) : string
ExpandPath ( string path ) : string
FindAssembly ( string asmGuid ) : AssemblyWrapper
FindAssemblyByName ( string asmName ) : AssemblyWrapper
FindBuildTool ( string buildToolGuid ) : BuildToolWrapper_
FindBuildToolByName ( string buildToolName ) : BuildToolWrapper_
FindFeature ( string featureGuid ) : FeatureWrapper
FindFeatureByName ( string name ) : FeatureWrapper
FindFeatureByProject ( string featProject ) : FeatureWrapper
FindISA ( string ISAGuid ) : ISAWrapper
FindLibrary ( ComponentWrapper comp ) : LibraryWrapper
FindLibrary ( string libraryGuid ) : LibraryWrapper
FindLibraryByFile ( string libraryFile ) : LibraryWrapper
FindLibraryByName ( string libraryName ) : LibraryWrapper
FindLibraryByProject ( string libraryProj ) : LibraryWrapper
FindLibraryCategory ( string LibraryCategoryGuid ) : LibraryCategoryWrapper
FindLibraryCategoryByName ( string LibraryCategoryName ) : LibraryCategoryWrapper
FindProcessor ( string processorGuid ) : ProcessorWrapper
FindProcessorByName ( string procName ) : ProcessorWrapper
GenerateNewLibraryCategoryName ( string BaseName ) : string

Generates Library Category new unique library name based on BaseName

GenerateNewLibraryName ( string BaseName ) : string

Generates Library new unique library name based on BaseName

GenerateSolution ( SolutionWrapper solution ) : void
GetAssembies ( ) : AssemblyWrapper[]
GetAvailableSolutions ( ) : MFComponentDescriptor>.CollectionWrapper
GetBuildTools ( ) : BuildToolWrapper_[]
GetFeatures ( ) : FeatureWrapper[]
GetISAs ( ) : ISAWrapper[]
GetLibraries ( ) : LibraryWrapper[]
GetLibraryCategories ( ) : LibraryCategoryWrapper[]
GetProcessors ( ) : ProcessorWrapper[]
GetProjectTemplates ( ) : List
GetRequiredFeatures ( ) : FeatureWrapper[]
GetRequiredLibraries ( ) : LibraryWrapper[]
GetRequiredLibraryCategories ( ) : LibraryCategoryWrapper[]
GetSolutions ( ) : SolutionWrapper[]
GetTransports ( ) : List
LoadDefaultFeatures ( ) : FeatureWrapper[]

Sync loading of default Features

LoadDefaultFeaturesAsync ( ) : void

Async loading of default Features

LoadDefaultLibraries ( ) : LibraryWrapper[]

Sync loading of default Libraries

LoadDefaultLibrariesAsync ( ) : void

Async loading of default Libraries

LoadDefaultLibraryCatigories ( ) : LibraryCategoryWrapper[]

Sync loading of default Library Catigories

LoadDefaultLibraryCatigoriesAsync ( ) : void

Async loading of default Library Catigories

LoadInventory ( ) : void

Sync loading of inventory

LoadInventoryAsync ( ) : void

Async loading of Inventory

LoadLibraryProj ( string libProjFile, string path ) : LibraryWrapper
LoadProject ( string fullpath ) : Project
LoadSolution ( ComponentDescriptorWrapper selectedsolution ) : SolutionWrapper

Sync loading of Solution

LoadSolutionAsync ( ComponentDescriptorWrapper selectedsolution ) : void

Async loading of Solution

LoadSolutionsAsync ( ) : void

Async loading of all Solutions

LoadTemplateProjects ( ) : List
PortingKitWrapper ( ) : System
SaveFeatureProj ( Feature feat ) : void
SaveLibraryCategoryProj ( LibraryCategoryWrapper libCat ) : bool
SaveLibraryProj ( LibraryWrapper lib ) : void
SaveProjectProj ( ProjectWrapper mfproj ) : void
SaveSolutionProj ( SolutionWrapper solution ) : void
Search ( SearchType type, SearchWhere where, string what, bool MatchCase, bool MatchWholeWord ) : void

Searchs components in inventory

m_SearchWorker_DoWork ( object sender, DoWorkEventArgs e ) : void
m_SearchWorker_RunWorkerCompleted ( object sender, RunWorkerCompletedEventArgs e ) : void
m_worker_DoWork ( object sender, DoWorkEventArgs e ) : void
m_worker_RunWorkerCompleted ( object sender, RunWorkerCompletedEventArgs e ) : void

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

Private Methods

Méthode Description
CheckFeature ( FeatureWrapper feat, string what, bool MatchCase, bool MatchWholeWord ) : void
CheckFeature ( SearchResultsHolder ProjectDesc, FeatureWrapper feat, string what, bool MatchCase, bool MatchWholeWord ) : void
CheckFile ( BuildFileWrapper file, string what, bool MatchCase, bool MatchWholeWord ) : void
CheckFile ( SearchResultsHolder ProjectDesc, BuildFileWrapper file, string what, bool MatchCase, bool MatchWholeWord ) : void
CheckLibrary ( LibraryWrapper lib, string what, bool MatchCase, bool MatchWholeWord ) : void
CheckLibrary ( SearchResultsHolder ProjectDesc, LibraryWrapper lib, string what, bool MatchCase, bool MatchWholeWord ) : void
CheckLibraryCategory ( LibraryCategoryWrapper libcat, string what, bool MatchCase, bool MatchWholeWord ) : void
CheckLibraryCategory ( SearchResultsHolder ProjectDesc, LibraryCategoryWrapper libcat, string what, bool MatchCase, bool MatchWholeWord ) : void
CheckTextInFile ( BuildFileWrapper file, string what, bool MatchCase, bool MatchWholeWord ) : void
CheckTextInFile ( SearchResultsHolder ProjectDesc, BuildFileWrapper file, string what, bool MatchCase, bool MatchWholeWord ) : void
OnElementFinded ( SearchResultsHolder component ) : void
OnLoadFeaturesComplete ( ) : void
OnLoadInventoryComplete ( ) : void
OnLoadLibraryCategoriesComplete ( ) : void
OnLoadLibraryesComplete ( ) : void
OnLoadSolutionComplete ( ) : void
OnLoadSolutionsComplete ( ) : void
OnSearchComplited ( SearchResultsHolder searchResults ) : void
OnSearchStarted ( SearchParams SearchParams ) : void
SearchFiles ( SearchWhere where, string what, bool MatchCase, bool MatchWholeWord ) : void

Serarchs files

SearchInFeatures ( SearchWhere where, string what, bool MatchCase, bool MatchWholeWord ) : void

Searchs in Features

SearchInLibraries ( SearchWhere where, string what, bool MatchCase, bool MatchWholeWord ) : void

Searchs in Libraries

SearchInLibraryCategories ( SearchWhere where, string what, bool MatchCase, bool MatchWholeWord ) : void

Searchs in LibraryCategories

SearchTextInFiles ( SearchWhere where, string what, bool MatchCase, bool MatchWholeWord ) : void
SetSolutionTransportType ( SolutionWrapper solution ) : void

Method Details

CheckLibrarProjName() public méthode

public CheckLibrarProjName ( string path ) : bool
path string
Résultat bool

CheckLibraryCategoryName() public méthode

Checks Library Category name for uniqueness
public CheckLibraryCategoryName ( string name ) : bool
name string
Résultat bool

CheckLibraryName() public méthode

Checks Library name for uniqueness
public CheckLibraryName ( string name ) : bool
name string
Résultat bool

CloneLibrary() public méthode

public CloneLibrary ( LibraryWrapper BaseLib, string NewName, string NewGroups, string NewPath, LibraryLevelWrapper NewLevel, bool NewIsStub ) : LibraryWrapper
BaseLib LibraryWrapper
NewName string
NewGroups string
NewPath string
NewLevel LibraryLevelWrapper
NewIsStub bool
Résultat LibraryWrapper

CloneLibraryCategory() public méthode

public CloneLibraryCategory ( BaseTypedWrapper BaseLibCat, string NewName, string NewGroups, LibraryLevelWrapper NewLevel ) : LibraryCategoryWrapper
BaseLibCat BaseTypedWrapper
NewName string
NewGroups string
NewLevel LibraryLevelWrapper
Résultat LibraryCategoryWrapper

ConvertPathToEnv() public méthode

public ConvertPathToEnv ( string fullpath ) : string
fullpath string
Résultat string

CopyProjFilesFromClone() public méthode

public CopyProjFilesFromClone ( ProjectWrapper proj, SolutionWrapper solution ) : void
proj ProjectWrapper
solution SolutionWrapper
Résultat void

CopyTemplateFiles() public méthode

public CopyTemplateFiles ( LibraryCategoryWrapper libcat, SolutionWrapper solution, ComponentWrapper template ) : void
libcat LibraryCategoryWrapper
solution SolutionWrapper
template ComponentWrapper
Résultat void

CreateLibrary() public méthode

public CreateLibrary ( string Name, LibraryLevelWrapper Level, string Description, string ProjectPath, bool IsTemplate, ComponentWrapper LibraryCategory ) : LibraryWrapper
Name string
Level LibraryLevelWrapper
Description string
ProjectPath string
IsTemplate bool
LibraryCategory ComponentWrapper
Résultat LibraryWrapper

CreateLibrary() public méthode

public CreateLibrary ( string name, string groups, string path, LibraryLevelWrapper level, bool isStub ) : LibraryWrapper
name string
groups string
path string
level LibraryLevelWrapper
isStub bool
Résultat LibraryWrapper

CreateLibraryCategory() public méthode

public CreateLibraryCategory ( string name, string groups, LibraryLevelWrapper level ) : LibraryCategoryWrapper
name string
groups string
level LibraryLevelWrapper
Résultat LibraryCategoryWrapper

CreateSolution() public méthode

public CreateSolution ( string Name, string Description, string Author, bool IsSolutionWizardVisible ) : SolutionWrapper
Name string
Description string
Author string
IsSolutionWizardVisible bool
Résultat SolutionWrapper

CreateSolutionDirProj() public méthode

public CreateSolutionDirProj ( SolutionWrapper solution ) : void
solution SolutionWrapper
Résultat void

DeleteLibrary() public méthode

public DeleteLibrary ( LibraryWrapper lib ) : void
lib LibraryWrapper
Résultat void

DeleteLibraryCategoryProj() public méthode

public DeleteLibraryCategoryProj ( LibraryCategoryWrapper libcat ) : void
libcat LibraryCategoryWrapper
Résultat void

Dispose() public méthode

public Dispose ( ) : void
Résultat void

Dispose() protected méthode

protected Dispose ( bool disposing ) : void
disposing bool
Résultat void

ExpandEnvVars() public méthode

public ExpandEnvVars ( string text, string path ) : string
text string
path string
Résultat string

ExpandPath() public méthode

public ExpandPath ( string path ) : string
path string
Résultat string

FindAssembly() public méthode

public FindAssembly ( string asmGuid ) : AssemblyWrapper
asmGuid string
Résultat AssemblyWrapper

FindAssemblyByName() public méthode

public FindAssemblyByName ( string asmName ) : AssemblyWrapper
asmName string
Résultat AssemblyWrapper

FindBuildTool() public méthode

public FindBuildTool ( string buildToolGuid ) : BuildToolWrapper_
buildToolGuid string
Résultat BuildToolWrapper_

FindBuildToolByName() public méthode

public FindBuildToolByName ( string buildToolName ) : BuildToolWrapper_
buildToolName string
Résultat BuildToolWrapper_

FindFeature() public méthode

public FindFeature ( string featureGuid ) : FeatureWrapper
featureGuid string
Résultat FeatureWrapper

FindFeatureByName() public méthode

public FindFeatureByName ( string name ) : FeatureWrapper
name string
Résultat FeatureWrapper

FindFeatureByProject() public méthode

public FindFeatureByProject ( string featProject ) : FeatureWrapper
featProject string
Résultat FeatureWrapper

FindISA() public méthode

public FindISA ( string ISAGuid ) : ISAWrapper
ISAGuid string
Résultat ISAWrapper

FindLibrary() public méthode

public FindLibrary ( ComponentWrapper comp ) : LibraryWrapper
comp ComponentWrapper
Résultat LibraryWrapper

FindLibrary() public méthode

public FindLibrary ( string libraryGuid ) : LibraryWrapper
libraryGuid string
Résultat LibraryWrapper

FindLibraryByFile() public méthode

public FindLibraryByFile ( string libraryFile ) : LibraryWrapper
libraryFile string
Résultat LibraryWrapper

FindLibraryByName() public méthode

public FindLibraryByName ( string libraryName ) : LibraryWrapper
libraryName string
Résultat LibraryWrapper

FindLibraryByProject() public méthode

public FindLibraryByProject ( string libraryProj ) : LibraryWrapper
libraryProj string
Résultat LibraryWrapper

FindLibraryCategory() public méthode

public FindLibraryCategory ( string LibraryCategoryGuid ) : LibraryCategoryWrapper
LibraryCategoryGuid string
Résultat LibraryCategoryWrapper

FindLibraryCategoryByName() public méthode

public FindLibraryCategoryByName ( string LibraryCategoryName ) : LibraryCategoryWrapper
LibraryCategoryName string
Résultat LibraryCategoryWrapper

FindProcessor() public méthode

public FindProcessor ( string processorGuid ) : ProcessorWrapper
processorGuid string
Résultat ProcessorWrapper

FindProcessorByName() public méthode

public FindProcessorByName ( string procName ) : ProcessorWrapper
procName string
Résultat ProcessorWrapper

GenerateNewLibraryCategoryName() public méthode

Generates Library Category new unique library name based on BaseName
public GenerateNewLibraryCategoryName ( string BaseName ) : string
BaseName string Base name for generation
Résultat string

GenerateNewLibraryName() public méthode

Generates Library new unique library name based on BaseName
public GenerateNewLibraryName ( string BaseName ) : string
BaseName string Base name for generation
Résultat string

GenerateSolution() public méthode

public GenerateSolution ( SolutionWrapper solution ) : void
solution SolutionWrapper
Résultat void

GetAssembies() public méthode

public GetAssembies ( ) : AssemblyWrapper[]
Résultat AssemblyWrapper[]

GetAvailableSolutions() public méthode

public GetAvailableSolutions ( ) : MFComponentDescriptor>.CollectionWrapper
Résultat MFComponentDescriptor>.CollectionWrapper

GetBuildTools() public méthode

public GetBuildTools ( ) : BuildToolWrapper_[]
Résultat BuildToolWrapper_[]

GetFeatures() public méthode

public GetFeatures ( ) : FeatureWrapper[]
Résultat FeatureWrapper[]

GetISAs() public méthode

public GetISAs ( ) : ISAWrapper[]
Résultat ISAWrapper[]

GetLibraries() public méthode

public GetLibraries ( ) : LibraryWrapper[]
Résultat LibraryWrapper[]

GetLibraryCategories() public méthode

public GetLibraryCategories ( ) : LibraryCategoryWrapper[]
Résultat LibraryCategoryWrapper[]

GetProcessors() public méthode

public GetProcessors ( ) : ProcessorWrapper[]
Résultat ProcessorWrapper[]

GetProjectTemplates() public méthode

public GetProjectTemplates ( ) : List
Résultat List

GetRequiredFeatures() public méthode

public GetRequiredFeatures ( ) : FeatureWrapper[]
Résultat FeatureWrapper[]

GetRequiredLibraries() public méthode

public GetRequiredLibraries ( ) : LibraryWrapper[]
Résultat LibraryWrapper[]

GetRequiredLibraryCategories() public méthode

public GetRequiredLibraryCategories ( ) : LibraryCategoryWrapper[]
Résultat LibraryCategoryWrapper[]

GetSolutions() public méthode

public GetSolutions ( ) : SolutionWrapper[]
Résultat SolutionWrapper[]

GetTransports() public méthode

public GetTransports ( ) : List
Résultat List

LoadDefaultFeatures() public méthode

Sync loading of default Features
public LoadDefaultFeatures ( ) : FeatureWrapper[]
Résultat FeatureWrapper[]

LoadDefaultFeaturesAsync() public méthode

Async loading of default Features
public LoadDefaultFeaturesAsync ( ) : void
Résultat void

LoadDefaultLibraries() public méthode

Sync loading of default Libraries
public LoadDefaultLibraries ( ) : LibraryWrapper[]
Résultat LibraryWrapper[]

LoadDefaultLibrariesAsync() public méthode

Async loading of default Libraries
public LoadDefaultLibrariesAsync ( ) : void
Résultat void

LoadDefaultLibraryCatigories() public méthode

Sync loading of default Library Catigories
public LoadDefaultLibraryCatigories ( ) : LibraryCategoryWrapper[]
Résultat LibraryCategoryWrapper[]

LoadDefaultLibraryCatigoriesAsync() public méthode

Async loading of default Library Catigories
public LoadDefaultLibraryCatigoriesAsync ( ) : void
Résultat void

LoadInventory() public méthode

Sync loading of inventory
public LoadInventory ( ) : void
Résultat void

LoadInventoryAsync() public méthode

Async loading of Inventory
public LoadInventoryAsync ( ) : void
Résultat void

LoadLibraryProj() public méthode

public LoadLibraryProj ( string libProjFile, string path ) : LibraryWrapper
libProjFile string
path string
Résultat LibraryWrapper

LoadProject() public méthode

public LoadProject ( string fullpath ) : Project
fullpath string
Résultat Project

LoadSolution() public méthode

Sync loading of Solution
public LoadSolution ( ComponentDescriptorWrapper selectedsolution ) : SolutionWrapper
selectedsolution ComponentDescriptorWrapper
Résultat SolutionWrapper

LoadSolutionAsync() public méthode

Async loading of Solution
public LoadSolutionAsync ( ComponentDescriptorWrapper selectedsolution ) : void
selectedsolution ComponentDescriptorWrapper
Résultat void

LoadSolutionsAsync() public méthode

Async loading of all Solutions
public LoadSolutionsAsync ( ) : void
Résultat void

LoadTemplateProjects() public méthode

public LoadTemplateProjects ( ) : List
Résultat List

PortingKitWrapper() public méthode

public PortingKitWrapper ( ) : System
Résultat System

SaveFeatureProj() public méthode

public SaveFeatureProj ( Feature feat ) : void
feat Feature
Résultat void

SaveLibraryCategoryProj() public méthode

public SaveLibraryCategoryProj ( LibraryCategoryWrapper libCat ) : bool
libCat LibraryCategoryWrapper
Résultat bool

SaveLibraryProj() public méthode

public SaveLibraryProj ( LibraryWrapper lib ) : void
lib LibraryWrapper
Résultat void

SaveProjectProj() public méthode

public SaveProjectProj ( ProjectWrapper mfproj ) : void
mfproj ProjectWrapper
Résultat void

SaveSolutionProj() public méthode

public SaveSolutionProj ( SolutionWrapper solution ) : void
solution SolutionWrapper
Résultat void

Search() public méthode

Searchs components in inventory
public Search ( SearchType type, SearchWhere where, string what, bool MatchCase, bool MatchWholeWord ) : void
type SearchType Search type
where SearchWhere
what string Search what
MatchCase bool Match case
MatchWholeWord bool Match whiole word
Résultat void

m_SearchWorker_DoWork() public méthode

public m_SearchWorker_DoWork ( object sender, DoWorkEventArgs e ) : void
sender object
e DoWorkEventArgs
Résultat void

m_SearchWorker_RunWorkerCompleted() public méthode

public m_SearchWorker_RunWorkerCompleted ( object sender, RunWorkerCompletedEventArgs e ) : void
sender object
e RunWorkerCompletedEventArgs
Résultat void

m_worker_DoWork() public méthode

public m_worker_DoWork ( object sender, DoWorkEventArgs e ) : void
sender object
e DoWorkEventArgs
Résultat void

m_worker_RunWorkerCompleted() public méthode

public m_worker_RunWorkerCompleted ( object sender, RunWorkerCompletedEventArgs e ) : void
sender object
e RunWorkerCompletedEventArgs
Résultat void