From cb4091108d620f732b2dbb61a35fd28109602b49 Mon Sep 17 00:00:00 2001 From: Charlie Kindel Date: Thu, 22 Oct 2020 09:50:22 -0600 Subject: [PATCH] removed deb file --- .gitignore | 2 ++ CONTRIBUTING.md | 14 +++----------- README.md | 2 +- packages-microsoft-prod.deb | Bin 3124 -> 0 bytes 4 files changed, 6 insertions(+), 12 deletions(-) delete mode 100644 packages-microsoft-prod.deb diff --git a/.gitignore b/.gitignore index 1911263b2..039166b63 100644 --- a/.gitignore +++ b/.gitignore @@ -16,3 +16,5 @@ docfx/api .vscode/ demo.txt + +*.deb diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 7f1246542..be9171011 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -61,22 +61,14 @@ The [Microsoft .NET Framework Design Guidelines](https://docs.microsoft.com/en-u > > ✔️ DO name event handlers (delegates used as types of events) with the "EventHandler" suffix, as shown in the following example: > -> public delegate void ClickedEventHandler(object sender, ClickedEventArgs e); -> -> ✔️ DO use two parameters named sender and e in event handlers. -> -> The sender parameter represents the object that raised the event. The sender parameter is typically of type object, even if it is possible to employ a more specific type. -> > ✔️ DO name event argument classes with the "EventArgs" suffix. -We are not currently consistent along these lines in `Terminal.Gui` at all. This leads to friction for adopters and bugs. As we take on fixing this we use the following guidelines: - 1. We follow the naming guidelines provided in https://docs.microsoft.com/en-us/dotnet/standard/design-guidelines/names-of-type-members?redirectedfrom=MSDN -2. We use the `Action` idiom for internal APIs, not for public APIs. For public APIs we use the `event/EventHandler` model. +2. We use the `event Action` idiom. 3. For public APIs, the class that can raise the event will implement: - A `virtual` event raising function, named as `OnEventToRaise`. Typical implementations will simply do a `EventToRaise?.Invoke(this, eventArgs)`. - - An `event` as in `public event EventHandler EventToRaise` - - Consumers of the event can do `theobject.EventToRaise += (sender, e) => {};` + - An `event` as in `public event Action EventToRaise` + - Consumers of the event can do `theobject.EventToRaise += (args) => {};` - Sub-classes of the class implementing `EventToRaise` can override `OnEventToRaise` as needed. 4. Where possible, a subclass of `EventArgs` should be provided and the old and new state should be included. By doing this, event handler methods do not have to query the sender for state. diff --git a/README.md b/README.md index 9d389f997..063559e6c 100644 --- a/README.md +++ b/README.md @@ -82,7 +82,7 @@ You can force the use of `System.Console` on Unix as well; see `Core.cs`. * **[Example (aka `demo.cs`)](https://github.com/migueldeicaza/gui.cs/tree/master/Example)** - Run `dotnet run` in the `Example` directory to run the simple demo. * **[Standalone Example](https://github.com/migueldeicaza/gui.cs/tree/master/StandaloneExample)** - A trivial .NET core sample application can be found in the `StandaloneExample` directory. Run `dotnet run` in directory to test. * **[F# Example](https://github.com/migueldeicaza/gui.cs/tree/master/FSharpExample)** - An example showing how to build a Terminal.Gui app using F#. -* **[Powershell Sample]()** - Shows how to build Terminal.Gui apps using Powershell. +* **[Powershell Sample]()** - (Coming soon! See PR #952. Shows how to build Terminal.Gui apps using Powershell. * **PowerShell's Out-ConsoleGridView** - The [`Out-ConsoleGridView` PowerShell Cmdlet](https://github.com/PowerShell/GraphicalTools/blob/master/docs/Microsoft.PowerShell.ConsoleGuiTools/Out-ConsoleGridView.md) sends the output from a command to a grid view window where the output is displayed in an interactive table. sends the output from a command to a grid view window where the output is displayed in an interactive table, using Terminal.Gui. ## Documentation diff --git a/packages-microsoft-prod.deb b/packages-microsoft-prod.deb deleted file mode 100644 index 2ab7eb1c4fc51706daf4be7242d0d6961db778a0..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 3124 zcmajfc{J1u8wc=_eIjMewUex4kFum(Gi0gMlzmst5M#-{39zn+hrv1hP1;w;$bh8NN^0OExV z@C=UBl$F(z{crs}|K0WV^!^I|?thLRU>yxDus15;PB7}W#vRXKjayNg|G2NMqyO&{ z9$=X?9*}#TrYnej&A}N((H9q4R0b!qT%YgXfymBIwS08$ z3VDnK#9CypP2q)<&P$;R&UR=)v#{8O<`@fn^o#I_yL$Lmbk7oca=UvSb04=v~41|#xBCQ_)KJpy9};mqCEW6 zTy5aAQ_!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