C# Класс PKStudio.PortingKitWrapper

Наследование: IDisposable
Показать файл Открыть проект

Открытые методы

Метод Описание
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

Защищенные методы

Метод Описание
Dispose ( bool disposing ) : void

Приватные методы

Метод Описание
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

Описание методов

CheckLibrarProjName() публичный Метод

public CheckLibrarProjName ( string path ) : bool
path string
Результат bool

CheckLibraryCategoryName() публичный Метод

Checks Library Category name for uniqueness
public CheckLibraryCategoryName ( string name ) : bool
name string
Результат bool

CheckLibraryName() публичный Метод

Checks Library name for uniqueness
public CheckLibraryName ( string name ) : bool
name string
Результат bool

CloneLibrary() публичный Метод

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
Результат LibraryWrapper

CloneLibraryCategory() публичный Метод

public CloneLibraryCategory ( BaseTypedWrapper BaseLibCat, string NewName, string NewGroups, LibraryLevelWrapper NewLevel ) : LibraryCategoryWrapper
BaseLibCat BaseTypedWrapper
NewName string
NewGroups string
NewLevel LibraryLevelWrapper
Результат LibraryCategoryWrapper

ConvertPathToEnv() публичный Метод

public ConvertPathToEnv ( string fullpath ) : string
fullpath string
Результат string

CopyProjFilesFromClone() публичный Метод

public CopyProjFilesFromClone ( ProjectWrapper proj, SolutionWrapper solution ) : void
proj ProjectWrapper
solution SolutionWrapper
Результат void

CopyTemplateFiles() публичный Метод

public CopyTemplateFiles ( LibraryCategoryWrapper libcat, SolutionWrapper solution, ComponentWrapper template ) : void
libcat LibraryCategoryWrapper
solution SolutionWrapper
template ComponentWrapper
Результат void

CreateLibrary() публичный Метод

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
Результат LibraryWrapper

CreateLibrary() публичный Метод

public CreateLibrary ( string name, string groups, string path, LibraryLevelWrapper level, bool isStub ) : LibraryWrapper
name string
groups string
path string
level LibraryLevelWrapper
isStub bool
Результат LibraryWrapper

CreateLibraryCategory() публичный Метод

public CreateLibraryCategory ( string name, string groups, LibraryLevelWrapper level ) : LibraryCategoryWrapper
name string
groups string
level LibraryLevelWrapper
Результат LibraryCategoryWrapper

CreateSolution() публичный Метод

public CreateSolution ( string Name, string Description, string Author, bool IsSolutionWizardVisible ) : SolutionWrapper
Name string
Description string
Author string
IsSolutionWizardVisible bool
Результат SolutionWrapper

CreateSolutionDirProj() публичный Метод

public CreateSolutionDirProj ( SolutionWrapper solution ) : void
solution SolutionWrapper
Результат void

DeleteLibrary() публичный Метод

public DeleteLibrary ( LibraryWrapper lib ) : void
lib LibraryWrapper
Результат void

DeleteLibraryCategoryProj() публичный Метод

public DeleteLibraryCategoryProj ( LibraryCategoryWrapper libcat ) : void
libcat LibraryCategoryWrapper
Результат void

Dispose() публичный Метод

public Dispose ( ) : void
Результат void

Dispose() защищенный Метод

protected Dispose ( bool disposing ) : void
disposing bool
Результат void

ExpandEnvVars() публичный Метод

public ExpandEnvVars ( string text, string path ) : string
text string
path string
Результат string

ExpandPath() публичный Метод

public ExpandPath ( string path ) : string
path string
Результат string

FindAssembly() публичный Метод

public FindAssembly ( string asmGuid ) : AssemblyWrapper
asmGuid string
Результат AssemblyWrapper

FindAssemblyByName() публичный Метод

public FindAssemblyByName ( string asmName ) : AssemblyWrapper
asmName string
Результат AssemblyWrapper

FindBuildTool() публичный Метод

public FindBuildTool ( string buildToolGuid ) : BuildToolWrapper_
buildToolGuid string
Результат BuildToolWrapper_

FindBuildToolByName() публичный Метод

public FindBuildToolByName ( string buildToolName ) : BuildToolWrapper_
buildToolName string
Результат BuildToolWrapper_

FindFeature() публичный Метод

public FindFeature ( string featureGuid ) : FeatureWrapper
featureGuid string
Результат FeatureWrapper

FindFeatureByName() публичный Метод

public FindFeatureByName ( string name ) : FeatureWrapper
name string
Результат FeatureWrapper

FindFeatureByProject() публичный Метод

public FindFeatureByProject ( string featProject ) : FeatureWrapper
featProject string
Результат FeatureWrapper

FindISA() публичный Метод

public FindISA ( string ISAGuid ) : ISAWrapper
ISAGuid string
Результат ISAWrapper

FindLibrary() публичный Метод

public FindLibrary ( ComponentWrapper comp ) : LibraryWrapper
comp ComponentWrapper
Результат LibraryWrapper

FindLibrary() публичный Метод

public FindLibrary ( string libraryGuid ) : LibraryWrapper
libraryGuid string
Результат LibraryWrapper

FindLibraryByFile() публичный Метод

public FindLibraryByFile ( string libraryFile ) : LibraryWrapper
libraryFile string
Результат LibraryWrapper

FindLibraryByName() публичный Метод

public FindLibraryByName ( string libraryName ) : LibraryWrapper
libraryName string
Результат LibraryWrapper

FindLibraryByProject() публичный Метод

public FindLibraryByProject ( string libraryProj ) : LibraryWrapper
libraryProj string
Результат LibraryWrapper

FindLibraryCategory() публичный Метод

public FindLibraryCategory ( string LibraryCategoryGuid ) : LibraryCategoryWrapper
LibraryCategoryGuid string
Результат LibraryCategoryWrapper

FindLibraryCategoryByName() публичный Метод

public FindLibraryCategoryByName ( string LibraryCategoryName ) : LibraryCategoryWrapper
LibraryCategoryName string
Результат LibraryCategoryWrapper

FindProcessor() публичный Метод

public FindProcessor ( string processorGuid ) : ProcessorWrapper
processorGuid string
Результат ProcessorWrapper

FindProcessorByName() публичный Метод

public FindProcessorByName ( string procName ) : ProcessorWrapper
procName string
Результат ProcessorWrapper

GenerateNewLibraryCategoryName() публичный Метод

Generates Library Category new unique library name based on BaseName
public GenerateNewLibraryCategoryName ( string BaseName ) : string
BaseName string Base name for generation
Результат string

GenerateNewLibraryName() публичный Метод

Generates Library new unique library name based on BaseName
public GenerateNewLibraryName ( string BaseName ) : string
BaseName string Base name for generation
Результат string

GenerateSolution() публичный Метод

public GenerateSolution ( SolutionWrapper solution ) : void
solution SolutionWrapper
Результат void

GetAssembies() публичный Метод

public GetAssembies ( ) : AssemblyWrapper[]
Результат AssemblyWrapper[]

GetAvailableSolutions() публичный Метод

public GetAvailableSolutions ( ) : MFComponentDescriptor>.CollectionWrapper
Результат MFComponentDescriptor>.CollectionWrapper

GetBuildTools() публичный Метод

public GetBuildTools ( ) : BuildToolWrapper_[]
Результат BuildToolWrapper_[]

GetFeatures() публичный Метод

public GetFeatures ( ) : FeatureWrapper[]
Результат FeatureWrapper[]

GetISAs() публичный Метод

public GetISAs ( ) : ISAWrapper[]
Результат ISAWrapper[]

GetLibraries() публичный Метод

public GetLibraries ( ) : LibraryWrapper[]
Результат LibraryWrapper[]

GetLibraryCategories() публичный Метод

public GetLibraryCategories ( ) : LibraryCategoryWrapper[]
Результат LibraryCategoryWrapper[]

GetProcessors() публичный Метод

public GetProcessors ( ) : ProcessorWrapper[]
Результат ProcessorWrapper[]

GetProjectTemplates() публичный Метод

public GetProjectTemplates ( ) : List
Результат List

GetRequiredFeatures() публичный Метод

public GetRequiredFeatures ( ) : FeatureWrapper[]
Результат FeatureWrapper[]

GetRequiredLibraries() публичный Метод

public GetRequiredLibraries ( ) : LibraryWrapper[]
Результат LibraryWrapper[]

GetRequiredLibraryCategories() публичный Метод

public GetRequiredLibraryCategories ( ) : LibraryCategoryWrapper[]
Результат LibraryCategoryWrapper[]

GetSolutions() публичный Метод

public GetSolutions ( ) : SolutionWrapper[]
Результат SolutionWrapper[]

GetTransports() публичный Метод

public GetTransports ( ) : List
Результат List

LoadDefaultFeatures() публичный Метод

Sync loading of default Features
public LoadDefaultFeatures ( ) : FeatureWrapper[]
Результат FeatureWrapper[]

LoadDefaultFeaturesAsync() публичный Метод

Async loading of default Features
public LoadDefaultFeaturesAsync ( ) : void
Результат void

LoadDefaultLibraries() публичный Метод

Sync loading of default Libraries
public LoadDefaultLibraries ( ) : LibraryWrapper[]
Результат LibraryWrapper[]

LoadDefaultLibrariesAsync() публичный Метод

Async loading of default Libraries
public LoadDefaultLibrariesAsync ( ) : void
Результат void

LoadDefaultLibraryCatigories() публичный Метод

Sync loading of default Library Catigories
public LoadDefaultLibraryCatigories ( ) : LibraryCategoryWrapper[]
Результат LibraryCategoryWrapper[]

LoadDefaultLibraryCatigoriesAsync() публичный Метод

Async loading of default Library Catigories
public LoadDefaultLibraryCatigoriesAsync ( ) : void
Результат void

LoadInventory() публичный Метод

Sync loading of inventory
public LoadInventory ( ) : void
Результат void

LoadInventoryAsync() публичный Метод

Async loading of Inventory
public LoadInventoryAsync ( ) : void
Результат void

LoadLibraryProj() публичный Метод

public LoadLibraryProj ( string libProjFile, string path ) : LibraryWrapper
libProjFile string
path string
Результат LibraryWrapper

LoadProject() публичный Метод

public LoadProject ( string fullpath ) : Project
fullpath string
Результат Project

LoadSolution() публичный Метод

Sync loading of Solution
public LoadSolution ( ComponentDescriptorWrapper selectedsolution ) : SolutionWrapper
selectedsolution ComponentDescriptorWrapper
Результат SolutionWrapper

LoadSolutionAsync() публичный Метод

Async loading of Solution
public LoadSolutionAsync ( ComponentDescriptorWrapper selectedsolution ) : void
selectedsolution ComponentDescriptorWrapper
Результат void

LoadSolutionsAsync() публичный Метод

Async loading of all Solutions
public LoadSolutionsAsync ( ) : void
Результат void

LoadTemplateProjects() публичный Метод

public LoadTemplateProjects ( ) : List
Результат List

PortingKitWrapper() публичный Метод

public PortingKitWrapper ( ) : System
Результат System

SaveFeatureProj() публичный Метод

public SaveFeatureProj ( Feature feat ) : void
feat Feature
Результат void

SaveLibraryCategoryProj() публичный Метод

public SaveLibraryCategoryProj ( LibraryCategoryWrapper libCat ) : bool
libCat LibraryCategoryWrapper
Результат bool

SaveLibraryProj() публичный Метод

public SaveLibraryProj ( LibraryWrapper lib ) : void
lib LibraryWrapper
Результат void

SaveProjectProj() публичный Метод

public SaveProjectProj ( ProjectWrapper mfproj ) : void
mfproj ProjectWrapper
Результат void

SaveSolutionProj() публичный Метод

public SaveSolutionProj ( SolutionWrapper solution ) : void
solution SolutionWrapper
Результат void

Search() публичный Метод

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
Результат void

m_SearchWorker_DoWork() публичный Метод

public m_SearchWorker_DoWork ( object sender, DoWorkEventArgs e ) : void
sender object
e DoWorkEventArgs
Результат void

m_SearchWorker_RunWorkerCompleted() публичный Метод

public m_SearchWorker_RunWorkerCompleted ( object sender, RunWorkerCompletedEventArgs e ) : void
sender object
e RunWorkerCompletedEventArgs
Результат void

m_worker_DoWork() публичный Метод

public m_worker_DoWork ( object sender, DoWorkEventArgs e ) : void
sender object
e DoWorkEventArgs
Результат void

m_worker_RunWorkerCompleted() публичный Метод

public m_worker_RunWorkerCompleted ( object sender, RunWorkerCompletedEventArgs e ) : void
sender object
e RunWorkerCompletedEventArgs
Результат void