mirror of
https://github.com/haven1433/HexManiacAdvance.git
synced 2026-10-02 05:06:35 -05:00
commenting the parameters for the commands
This commit is contained in:
@@ -20,7 +20,7 @@ namespace HavenSoft.Gen3Hex.ViewModel {
|
||||
private int currentFindResultIndex;
|
||||
|
||||
public ICommand New => newCommand;
|
||||
public ICommand Open => open;
|
||||
public ICommand Open => open; // parameter: file to open (or null)
|
||||
public ICommand Save => save;
|
||||
public ICommand SaveAs => saveAs;
|
||||
public ICommand SaveAll => saveAll;
|
||||
@@ -34,12 +34,12 @@ namespace HavenSoft.Gen3Hex.ViewModel {
|
||||
public ICommand Delete => delete;
|
||||
public ICommand Back => back;
|
||||
public ICommand Forward => forward;
|
||||
public ICommand Goto => gotoCommand;
|
||||
public ICommand ShowGoto => showGoto;
|
||||
public ICommand Find => find;
|
||||
public ICommand FindPrevious => findPrevious;
|
||||
public ICommand FindNext => findNext;
|
||||
public ICommand ShowFind => showFind;
|
||||
public ICommand Goto => gotoCommand; // parameter: target destination as string (for example, a hex address)
|
||||
public ICommand ShowGoto => showGoto; // parameter: true for show, false for hide
|
||||
public ICommand Find => find; // parameter: target string to search
|
||||
public ICommand FindPrevious => findPrevious; // parameter: target string to search
|
||||
public ICommand FindNext => findNext; // parameter: target string to search
|
||||
public ICommand ShowFind => showFind; // parameter: true for show, false for hide
|
||||
public ICommand ClearError => clearError;
|
||||
|
||||
private bool gotoControlVisible;
|
||||
|
||||
@@ -7,16 +7,16 @@ namespace HavenSoft.Gen3Hex.ViewModel {
|
||||
/// </summary>
|
||||
public interface ITabContent {
|
||||
string Name { get; }
|
||||
ICommand Save { get; }
|
||||
ICommand SaveAs { get; }
|
||||
ICommand Save { get; } // parameter: IFileSystem
|
||||
ICommand SaveAs { get; } // parameter: IFileSystem
|
||||
ICommand Undo { get; }
|
||||
ICommand Redo { get; }
|
||||
ICommand Copy { get; }
|
||||
ICommand Copy { get; } // parameter: IFileSystem
|
||||
ICommand Clear { get; }
|
||||
ICommand Goto { get; }
|
||||
ICommand Goto { get; } // parameter: target destination as string (example, a hex address)
|
||||
ICommand Back { get; }
|
||||
ICommand Forward { get; }
|
||||
ICommand Close { get; }
|
||||
ICommand Close { get; } // parameter: IFileSystem
|
||||
|
||||
event EventHandler<string> OnError;
|
||||
event EventHandler Closed;
|
||||
|
||||
@@ -14,7 +14,7 @@ namespace HavenSoft.Gen3Hex.ViewModel {
|
||||
int ScrollValue { get; set; }
|
||||
int MaximumScroll { get; }
|
||||
ObservableCollection<string> Headers { get; }
|
||||
ICommand Scroll { get; }
|
||||
ICommand Scroll { get; } // parameter: Direction to scroll
|
||||
|
||||
HexElement this[int x, int y] { get; }
|
||||
bool IsSelected(Point point);
|
||||
|
||||
Reference in New Issue
Block a user