C# 클래스 WhereAmI2015.WhereAmI

Adornment class that draws a square box in the top right hand corner of the viewport
파일 보기 프로젝트 열기: tanathos/WhereAmI2015

공개 메소드들

메소드 설명
GetContainingProject ( string fileName ) : Project

Given a filename, retrieve the Project container

WhereAmI ( IWpfTextView view, IWhereAmISettings settings ) : System

Initializes a new instance of the WhereAmI class. Creates a square image and attaches an event handler to the layout changed event that adds the the square in the upper right-hand corner of the TextView via the adornment layer

onSizeChange ( ) : void

비공개 메소드들

메소드 설명
GetFolderDiffs ( string filePath, string folderPath ) : string

Given 2 absolute paths, returns the difference in folder structure. (The first should be nested in the second)

메소드 상세

GetContainingProject() 공개 정적인 메소드

Given a filename, retrieve the Project container
public static GetContainingProject ( string fileName ) : Project
fileName string
리턴 Project

WhereAmI() 공개 메소드

Initializes a new instance of the WhereAmI class. Creates a square image and attaches an event handler to the layout changed event that adds the the square in the upper right-hand corner of the TextView via the adornment layer
public WhereAmI ( IWpfTextView view, IWhereAmISettings settings ) : System
view IWpfTextView The upon which the adornment will be drawn
settings IWhereAmISettings The injected by the provider
리턴 System

onSizeChange() 공개 메소드

public onSizeChange ( ) : void
리턴 void