Skip to content

Commit

Permalink
minor desc change
Browse files Browse the repository at this point in the history
  • Loading branch information
erfg12 committed Feb 4, 2022
1 parent c90fef5 commit 7d3aac9
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Memory/Methods/Read.cs
Original file line number Diff line number Diff line change
Expand Up @@ -427,11 +427,11 @@ public T ReadMemory<T>(string address, string file = "")

ConcurrentDictionary<string, CancellationTokenSource> ReadTokenSrcs = new ConcurrentDictionary<string, CancellationTokenSource>();
/// <summary>
/// Reads a memory address, keeps value in UI object. Ex: BindToUI("0x12345678,0x02,0x05", v => this.Invoke((MethodInvoker) delegate { this.name_label.Text = v; }));
/// Reads a memory address, keeps value in UI object. Ex: BindToUI("0x12345678,0x02,0x05", v => ObjName.Invoke((MethodInvoker)delegate { if (String.Compare(v, ObjName.Text) != 0) { ObjName.Text = v; } }));
/// </summary>
/// <param name="address"></param>
/// <param name="UIObject"></param>
/// <param name="file"></param>
/// <param name="address">Your code or INI file variable name</param>
/// <param name="UIObject">Returning variable to bind to UI object. See example in summary.</param>
/// <param name="file">OPTIONAL: INI file path and file name with extension</param>
public void BindToUI(string address, Action<string> UIObject, string file = "")
{
CancellationTokenSource cts = new CancellationTokenSource();
Expand Down

0 comments on commit 7d3aac9

Please sign in to comment.