C# Класс WhereAmI2015.WhereAmI

Adornment class that draws a square box in the top right hand corner of the viewport
Показать файл Открыть проект

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

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