C# 클래스 Scorchio.VisualStudio.Services.ProjectItemService

Defines the ProjectItemService type.
상속: IProjectItemService
파일 보기 프로젝트 열기: asudbury/NinjaCoderForMvvmCross 1 사용 예제들

공개 메소드들

메소드 설명
AddHeaderComment ( string headerComment ) : void

Adds the header comment.

AddNameSpace ( string nameSpace ) : CodeNamespace

Adds the name space.

AddUsingStatement ( string usingStatement ) : void

Adds the using statement.

CreateInterface ( ) : CodeInterface

Creates the interface.

DeleteFolder ( IEnumerable excludeFiles = null ) : void

Deletes the folder.

FixUsingStatements ( ) : void

Fixes the using statements.

GetCSharpProjectItems ( ) : IEnumerable

Gets the c# project items.

GetFirstClass ( ) : CodeClass

Gets the first class.

GetFirstCodeElement ( ) : CodeElement

Gets the first code element.

GetFirstInterface ( ) : CodeInterface

Gets the first interface.

GetFirstNameSpace ( ) : CodeNamespace

Gets the first name space.

GetFolder ( string folderName ) : IProjectItemService

Gets the folder.

GetFolder ( ) : string

Gets the folder.

GetFolderOrCreate ( string folderName ) : IProjectItemService

Gets the folder or create.

GetFolderProjectItems ( ) : IEnumerable

Gets the folder project items.

GetNameSpace ( ) : CodeNamespace

Gets the name space.

GetProjectItem ( string name ) : IProjectItemService

Gets the project item.

GetSubProjectItems ( ) : IEnumerable

Gets the sub project items.

GetUsingStatements ( ) : IEnumerable

Gets the using statements.

ImplementCodeSnippet ( CodeSnippet codeSnippet, bool formatFunctionParameters ) : void

Implements the code snippet.

ImplementUnitTestingCodeSnippet ( CodeSnippet codeSnippet, string codeFile, bool removeHeader, bool removeComments, bool formatFunctionParameters ) : void

Implements the unit testing code snippet.

IsCSharpFile ( ) : bool

Determines whether [is C sharp file].

MoveUsingStatements ( ) : void

Moves the using statements.

Open ( ) : void

Opens this instance.

ProjectItemService ( ProjectItem projectItem ) : System.Collections.Generic

Initializes a new instance of the ProjectItemService class.

Remove ( ) : void

Removes this instance.

RemoveAndDelete ( ) : void

Removes the and delete.

RemoveComments ( ) : void

Removes the comments.

RemoveDoubleBlankLines ( ) : void

Removes the double blank lines.

RemoveHeader ( ) : void

Removes the header.

ReplacePattern ( string text, string replacementText ) : void

Replaces the pattern.

ReplaceText ( string text, string replacementText ) : void

Replaces the text.

Save ( ) : void

Saves this instance.

SortAndRemoveUsingStatements ( ) : void

Sorts the and remove using statements.

메소드 상세

AddHeaderComment() 공개 메소드

Adds the header comment.
public AddHeaderComment ( string headerComment ) : void
headerComment string The header comment.
리턴 void

AddNameSpace() 공개 메소드

Adds the name space.
public AddNameSpace ( string nameSpace ) : CodeNamespace
nameSpace string The name space.
리턴 CodeNamespace

AddUsingStatement() 공개 메소드

Adds the using statement.
public AddUsingStatement ( string usingStatement ) : void
usingStatement string The using statement.
리턴 void

CreateInterface() 공개 메소드

Creates the interface.
public CreateInterface ( ) : CodeInterface
리턴 CodeInterface

DeleteFolder() 공개 메소드

Deletes the folder.
public DeleteFolder ( IEnumerable excludeFiles = null ) : void
excludeFiles IEnumerable The exclude files.
리턴 void

FixUsingStatements() 공개 메소드

Fixes the using statements.
public FixUsingStatements ( ) : void
리턴 void

GetCSharpProjectItems() 공개 메소드

Gets the c# project items.
public GetCSharpProjectItems ( ) : IEnumerable
리턴 IEnumerable

GetFirstClass() 공개 메소드

Gets the first class.
public GetFirstClass ( ) : CodeClass
리턴 CodeClass

GetFirstCodeElement() 공개 메소드

Gets the first code element.
public GetFirstCodeElement ( ) : CodeElement
리턴 CodeElement

GetFirstInterface() 공개 메소드

Gets the first interface.
public GetFirstInterface ( ) : CodeInterface
리턴 CodeInterface

GetFirstNameSpace() 공개 메소드

Gets the first name space.
public GetFirstNameSpace ( ) : CodeNamespace
리턴 CodeNamespace

GetFolder() 공개 메소드

Gets the folder.
public GetFolder ( string folderName ) : IProjectItemService
folderName string Name of the folder.
리턴 IProjectItemService

GetFolder() 공개 메소드

Gets the folder.
public GetFolder ( ) : string
리턴 string

GetFolderOrCreate() 공개 메소드

Gets the folder or create.
public GetFolderOrCreate ( string folderName ) : IProjectItemService
folderName string Name of the folder.
리턴 IProjectItemService

GetFolderProjectItems() 공개 메소드

Gets the folder project items.
public GetFolderProjectItems ( ) : IEnumerable
리턴 IEnumerable

GetNameSpace() 공개 메소드

Gets the name space.
public GetNameSpace ( ) : CodeNamespace
리턴 CodeNamespace

GetProjectItem() 공개 메소드

Gets the project item.
public GetProjectItem ( string name ) : IProjectItemService
name string The name.
리턴 IProjectItemService

GetSubProjectItems() 공개 메소드

Gets the sub project items.
public GetSubProjectItems ( ) : IEnumerable
리턴 IEnumerable

GetUsingStatements() 공개 메소드

Gets the using statements.
public GetUsingStatements ( ) : IEnumerable
리턴 IEnumerable

ImplementCodeSnippet() 공개 메소드

Implements the code snippet.
public ImplementCodeSnippet ( CodeSnippet codeSnippet, bool formatFunctionParameters ) : void
codeSnippet CodeSnippet The code snippet.
formatFunctionParameters bool if set to true [format function parameters].
리턴 void

ImplementUnitTestingCodeSnippet() 공개 메소드

Implements the unit testing code snippet.
public ImplementUnitTestingCodeSnippet ( CodeSnippet codeSnippet, string codeFile, bool removeHeader, bool removeComments, bool formatFunctionParameters ) : void
codeSnippet CodeSnippet The code snippet.
codeFile string The code file.
removeHeader bool if set to true [remove header].
removeComments bool if set to true [remove comments].
formatFunctionParameters bool if set to true [format function parameters].
리턴 void

IsCSharpFile() 공개 메소드

Determines whether [is C sharp file].
public IsCSharpFile ( ) : bool
리턴 bool

MoveUsingStatements() 공개 메소드

Moves the using statements.
public MoveUsingStatements ( ) : void
리턴 void

Open() 공개 메소드

Opens this instance.
public Open ( ) : void
리턴 void

ProjectItemService() 공개 메소드

Initializes a new instance of the ProjectItemService class.
public ProjectItemService ( ProjectItem projectItem ) : System.Collections.Generic
projectItem ProjectItem The project item.
리턴 System.Collections.Generic

Remove() 공개 메소드

Removes this instance.
public Remove ( ) : void
리턴 void

RemoveAndDelete() 공개 메소드

Removes the and delete.
public RemoveAndDelete ( ) : void
리턴 void

RemoveComments() 공개 메소드

Removes the comments.
public RemoveComments ( ) : void
리턴 void

RemoveDoubleBlankLines() 공개 메소드

Removes the double blank lines.
public RemoveDoubleBlankLines ( ) : void
리턴 void

RemoveHeader() 공개 메소드

Removes the header.
public RemoveHeader ( ) : void
리턴 void

ReplacePattern() 공개 메소드

Replaces the pattern.
public ReplacePattern ( string text, string replacementText ) : void
text string The text.
replacementText string The replacement text.
리턴 void

ReplaceText() 공개 메소드

Replaces the text.
public ReplaceText ( string text, string replacementText ) : void
text string The text.
replacementText string The replacement text.
리턴 void

Save() 공개 메소드

Saves this instance.
public Save ( ) : void
리턴 void

SortAndRemoveUsingStatements() 공개 메소드

Sorts the and remove using statements.
public SortAndRemoveUsingStatements ( ) : void
리턴 void