C# 클래스 Scorchio.VisualStudio.Extensions.ProjectItemExtensions

Defines the ProjectItemExtensions type.
파일 보기 프로젝트 열기: asudbury/NinjaCoderForMvvmCross

공개 메소드들

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

Adds the header comment.

AddNameSpace ( this instance, string nameSpace ) : CodeNamespace

Adds the name space.

AddUsingStatement ( this instance, string usingStatement ) : void

Adds the using statement.

CreateInterface ( this instance ) : CodeInterface

Creates the interface.

DeleteFileContents ( this instance ) : void

Delete the file contents.

DeleteFolder ( this instance, IEnumerable excludeFiles = null ) : void

Deletes the folder.

DeleteNameSpaceUsingStatements ( this instance ) : void

Deletes the name space using statements.

FixUsingStatements ( this instance ) : void

Fixes the using statements.

GetCSharpProjectItems ( this instance ) : IEnumerable

Gets the c# project items.

GetFirstClass ( this instance ) : CodeClass

Gets the first class.

GetFirstCodeElement ( this instance ) : CodeElement

Gets the first code element.

GetFirstInterface ( this instance ) : CodeInterface

Gets the first interface.

GetFirstNameSpace ( this instance ) : CodeNamespace

Gets the first name space.

GetFolder ( this instance, string folderName ) : ProjectItem

Gets the folder.

GetFolder ( this instance ) : string

Gets the folder.

GetFolderOrCreate ( this instance, string folderName ) : ProjectItem

Gets the folder or create.

GetFolderProjectItems ( this instance ) : IEnumerable

Gets the folder project items.

GetNameSpace ( this instance ) : CodeNamespace

Gets the name space.

GetProjectItem ( this instance, string name ) : ProjectItem

Gets the project item.

GetSubProjectItems ( this instance ) : IEnumerable

Gets the sub project items.

GetUsingStatements ( this instance ) : IEnumerable

Gets the using statements.

GetXamlProjectItems ( this instance ) : IEnumerable

Gets the c# project items.

ImplementCodeSnippet ( this instance, CodeSnippet codeSnippet, bool formatFunctionParameters ) : void

Implements the code snippet.

IsCSharpFile ( this instance ) : bool

Determines whether [is C sharp file] [the specified instance].

IsPhysicalFile ( this instance ) : bool

Determines whether the project item is a physical file.

IsXamlFile ( this instance ) : bool

Determines whether [is xaml file] [the specified instance].

MoveUsingStatements ( this instance ) : void

Moves the using statements.

RemoveAndDelete ( this instance ) : void

Removes the and delete.

RemoveComments ( this instance ) : void

Removes the comments.

RemoveDoubleBlankLines ( this instance ) : void

Removes the double blank lines.

RemoveHeader ( this instance ) : void

Removes the header.

ReplaceText ( this instance, string text, string replacementText, int findOptions = (int)vsFindOptions.vsFindOptionsMatchCase ) : void

Replaces the text.

SortAndRemoveUsingStatements ( this instance ) : void

Sorts the and remove using statements.

메소드 상세

AddHeaderComment() 공개 정적인 메소드

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

AddNameSpace() 공개 정적인 메소드

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

AddUsingStatement() 공개 정적인 메소드

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

CreateInterface() 공개 정적인 메소드

Creates the interface.
public static CreateInterface ( this instance ) : CodeInterface
instance this The instance.
리턴 CodeInterface

DeleteFileContents() 공개 정적인 메소드

Delete the file contents.
public static DeleteFileContents ( this instance ) : void
instance this The instance.
리턴 void

DeleteFolder() 공개 정적인 메소드

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

DeleteNameSpaceUsingStatements() 공개 정적인 메소드

Deletes the name space using statements.
public static DeleteNameSpaceUsingStatements ( this instance ) : void
instance this The instance.
리턴 void

FixUsingStatements() 공개 정적인 메소드

Fixes the using statements.
public static FixUsingStatements ( this instance ) : void
instance this The instance.
리턴 void

GetCSharpProjectItems() 공개 정적인 메소드

Gets the c# project items.
public static GetCSharpProjectItems ( this instance ) : IEnumerable
instance this The instance.
리턴 IEnumerable

GetFirstClass() 공개 정적인 메소드

Gets the first class.
public static GetFirstClass ( this instance ) : CodeClass
instance this The instance.
리턴 CodeClass

GetFirstCodeElement() 공개 정적인 메소드

Gets the first code element.
public static GetFirstCodeElement ( this instance ) : CodeElement
instance this The instance.
리턴 CodeElement

GetFirstInterface() 공개 정적인 메소드

Gets the first interface.
public static GetFirstInterface ( this instance ) : CodeInterface
instance this The instance.
리턴 CodeInterface

GetFirstNameSpace() 공개 정적인 메소드

Gets the first name space.
public static GetFirstNameSpace ( this instance ) : CodeNamespace
instance this The instance.
리턴 CodeNamespace

GetFolder() 공개 정적인 메소드

Gets the folder.
public static GetFolder ( this instance, string folderName ) : ProjectItem
instance this The instance.
folderName string Name of the folder.
리턴 ProjectItem

GetFolder() 공개 정적인 메소드

Gets the folder.
public static GetFolder ( this instance ) : string
instance this The instance.
리턴 string

GetFolderOrCreate() 공개 정적인 메소드

Gets the folder or create.
public static GetFolderOrCreate ( this instance, string folderName ) : ProjectItem
instance this The instance.
folderName string Name of the folder.
리턴 ProjectItem

GetFolderProjectItems() 공개 정적인 메소드

Gets the folder project items.
public static GetFolderProjectItems ( this instance ) : IEnumerable
instance this The instance.
리턴 IEnumerable

GetNameSpace() 공개 정적인 메소드

Gets the name space.
public static GetNameSpace ( this instance ) : CodeNamespace
instance this The instance.
리턴 CodeNamespace

GetProjectItem() 공개 정적인 메소드

Gets the project item.
public static GetProjectItem ( this instance, string name ) : ProjectItem
instance this The instance.
name string The name.
리턴 ProjectItem

GetSubProjectItems() 공개 정적인 메소드

Gets the sub project items.
public static GetSubProjectItems ( this instance ) : IEnumerable
instance this The instance.
리턴 IEnumerable

GetUsingStatements() 공개 정적인 메소드

Gets the using statements.
public static GetUsingStatements ( this instance ) : IEnumerable
instance this The instance.
리턴 IEnumerable

GetXamlProjectItems() 공개 정적인 메소드

Gets the c# project items.
public static GetXamlProjectItems ( this instance ) : IEnumerable
instance this The instance.
리턴 IEnumerable

ImplementCodeSnippet() 공개 정적인 메소드

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

IsCSharpFile() 공개 정적인 메소드

Determines whether [is C sharp file] [the specified instance].
public static IsCSharpFile ( this instance ) : bool
instance this The instance.
리턴 bool

IsPhysicalFile() 공개 정적인 메소드

Determines whether the project item is a physical file.
public static IsPhysicalFile ( this instance ) : bool
instance this The instance.
리턴 bool

IsXamlFile() 공개 정적인 메소드

Determines whether [is xaml file] [the specified instance].
public static IsXamlFile ( this instance ) : bool
instance this The instance.
리턴 bool

MoveUsingStatements() 공개 정적인 메소드

Moves the using statements.
public static MoveUsingStatements ( this instance ) : void
instance this The instance.
리턴 void

RemoveAndDelete() 공개 정적인 메소드

Removes the and delete.
public static RemoveAndDelete ( this instance ) : void
instance this The instance.
리턴 void

RemoveComments() 공개 정적인 메소드

Removes the comments.
public static RemoveComments ( this instance ) : void
instance this The instance.
리턴 void

RemoveDoubleBlankLines() 공개 정적인 메소드

Removes the double blank lines.
public static RemoveDoubleBlankLines ( this instance ) : void
instance this The instance.
리턴 void

RemoveHeader() 공개 정적인 메소드

Removes the header.
public static RemoveHeader ( this instance ) : void
instance this The instance.
리턴 void

ReplaceText() 공개 정적인 메소드

Replaces the text.
public static ReplaceText ( this instance, string text, string replacementText, int findOptions = (int)vsFindOptions.vsFindOptionsMatchCase ) : void
instance this The instance.
text string The text.
replacementText string The replacement text.
findOptions int The find options.
리턴 void

SortAndRemoveUsingStatements() 공개 정적인 메소드

Sorts the and remove using statements.
public static SortAndRemoveUsingStatements ( this instance ) : void
instance this The instance.
리턴 void