C# 클래스 WindowsPathEditor.MainWindow

Interaction logic for MainWindow.xaml
상속: System.Windows.Window, INotifyPropertyChanged
파일 보기 프로젝트 열기: rix0rrr/WindowsPathEditor

공개 프로퍼티들

프로퍼티 타입 설명
CleanUp System.Windows.Input.RoutedCommand
ShieldIconProperty System.Windows.DependencyProperty
SystemPathProperty System.Windows.DependencyProperty
UserPathProperty System.Windows.DependencyProperty

Private Properties

프로퍼티 타입 설명
Add_Click void
Button_Click void
CanDelete void
CanExplore void
CanSave void
Clean_Click void
DirtyPaths void
DoDelete void
DoExplore void
DoSave void
GetSelectedEntry WindowsPathEditor.AnnotatedPathEntry
InvalidateDependentProperties void
ParseCommandLinePath IEnumerable
PathAsCommandLineArgument string
PathListEqual bool
Read void
RecheckPath void
Scan_Click void
SetPaths void
ShowIssues_Checked void
Window_Closed void
Write void
WriteChangesFromCommandLine void

공개 메소드들

메소드 설명
MainWindow ( ) : System

비공개 메소드들

메소드 설명
Add_Click ( object sender, RoutedEventArgs e ) : void
Button_Click ( object sender, RoutedEventArgs e ) : void
CanDelete ( object sender, System.Windows.Input.CanExecuteRoutedEventArgs e ) : void
CanExplore ( object sender, System.Windows.Input.CanExecuteRoutedEventArgs e ) : void
CanSave ( object sender, System.Windows.Input.CanExecuteRoutedEventArgs e ) : void
Clean_Click ( object sender, RoutedEventArgs e ) : void

Remove paths that don't exist or are listed multiple times

DirtyPaths ( ) : void

Mark the paths as dirty and schedule a check operation

(Done like this to prevent duplicate checks scheduled in the same event handler)

DoDelete ( object sender, System.Windows.Input.ExecutedRoutedEventArgs e ) : void
DoExplore ( object sender, System.Windows.Input.ExecutedRoutedEventArgs e ) : void
DoSave ( object sender, System.Windows.Input.ExecutedRoutedEventArgs e ) : void
GetSelectedEntry ( RoutedEventArgs e ) : WindowsPathEditor.AnnotatedPathEntry
InvalidateDependentProperties ( ) : void

Called when the user has changed the path lists, to force WPF to reevaluate properties that depend on the lists

ParseCommandLinePath ( string argument ) : IEnumerable
PathAsCommandLineArgument ( IEnumerable path ) : string
PathListEqual ( IEnumerable original, ObservableCollectionEx edited ) : bool

Compare two path lists

Read ( ) : void
RecheckPath ( ) : void
Scan_Click ( object sender, RoutedEventArgs e ) : void
SetPaths ( IEnumerable systemPath, IEnumerable userPath ) : void
ShowIssues_Checked ( object sender, RoutedEventArgs e ) : void
Window_Closed ( object sender, EventArgs e ) : void
Write ( ) : void
WriteChangesFromCommandLine ( IEnumerable args ) : void

Write the changes passed on the command-line (used for writing with UAC elevation)

메소드 상세

MainWindow() 공개 메소드

public MainWindow ( ) : System
리턴 System

프로퍼티 상세

CleanUp 공개적으로 정적으로 프로퍼티

public static RoutedCommand,System.Windows.Input CleanUp
리턴 System.Windows.Input.RoutedCommand

ShieldIconProperty 공개적으로 정적으로 프로퍼티

public static DependencyProperty,System.Windows ShieldIconProperty
리턴 System.Windows.DependencyProperty

SystemPathProperty 공개적으로 정적으로 프로퍼티

public static DependencyProperty,System.Windows SystemPathProperty
리턴 System.Windows.DependencyProperty

UserPathProperty 공개적으로 정적으로 프로퍼티

public static DependencyProperty,System.Windows UserPathProperty
리턴 System.Windows.DependencyProperty