From ea7fb5953c227b15068431b6bd8b98a7fb8f9a47 Mon Sep 17 00:00:00 2001 From: Oliver Booth Date: Tue, 19 Nov 2019 15:25:12 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=93=9A=20Update=20README=20and=20add=20ch?= =?UTF-8?q?ildren=20README=20files?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 24 +----------------------- X10D.Drawing/README.md | 11 +++++++++++ X10D.Unity/README.md | 12 ++++++++++++ X10D.WinForms/README.md | 12 ++++++++++++ X10D/README.md | 27 +++++++++++++++++++++++++++ 5 files changed, 63 insertions(+), 23 deletions(-) create mode 100644 X10D.Drawing/README.md create mode 100644 X10D.Unity/README.md create mode 100644 X10D.WinForms/README.md create mode 100644 X10D/README.md diff --git a/README.md b/README.md index 9aacc46..b5e651a 100644 --- a/README.md +++ b/README.md @@ -5,26 +5,4 @@ Extension methods on crack X10D (pronounced *extend*), is a collection of class libraries that provide various .NET extension methods, including extension methods for Unity, Windows Forms and System.Drawing. ## Extended Classes -Below is a list of the number of extension methods written for a given type. Overloaded methods are not counted. - -| Type | Library | Method count | -| :--- | :--- | :--- | -| `byte` / `byte[]` | `X10D` | 8 | -| `char` | `X10D` | 1 | -| `IComparable` | `X10D` | 2 | -| `IConvertible` | `X10D` | 4 | -| `DateTime` | `X10D` | 12 | -| `double` | `X10D` | 5 | -| `enum` | `X10D` | 2 | -| `float` | `X10D` | 5 | -| `short` / `ushort` | `X10D` | 15 | -| `int` / `uint` | `X10D` | 15 | -| `long` / `ulong` | `X10D` | 15 | -| `IList` | `X10D` | 1 | -| `Random` | `X10D` | 1 | -| `SecureString` | `X10D` | 1 | -| `string` | `X10D` | 6 | -| `TimeSpan` | `X10D` | 1 | -| `System.Drawing.Image` | `X10D.Drawing` | 2 (+ async) | -| `UnityEngine.Material` | `X10D.Unity` | 1 | -| `System.Windows.Forms.Control` | `X10D.WinForms` | 1 | +You can find the list of classes that have extension methods by viewing the `README.md` file in any of the respective library folders. diff --git a/X10D.Drawing/README.md b/X10D.Drawing/README.md new file mode 100644 index 0000000..7fdb206 --- /dev/null +++ b/X10D.Drawing/README.md @@ -0,0 +1,11 @@ +# X10D.Drawing + +## About +The X10D.Drawing library contains extension methods for the System.Drawing .NET library. + +## Extended Classes +Below is a list of the number of extension methods written for a given type. Overloaded methods are not counted. + +| Type | Library | Method count | +| :--- | :--- | :--- | +| `Image` | `X10D.Drawing` | 3 (+1 async) | diff --git a/X10D.Unity/README.md b/X10D.Unity/README.md new file mode 100644 index 0000000..0f353bf --- /dev/null +++ b/X10D.Unity/README.md @@ -0,0 +1,12 @@ +# X10D.Unity + +## About +The X10D.Unity library contains extension methods for Unity engine types. + +## Extended Classes +Below is a list of the number of extension methods written for a given type. Overloaded methods are not counted. + +| Type | Library | Method count | +| :--- | :--- | :--- | +| `Material` | `X10D.Unity` | 1 | +| `Vector3` | `X10D.Unity` | 5 | diff --git a/X10D.WinForms/README.md b/X10D.WinForms/README.md new file mode 100644 index 0000000..b7ac71b --- /dev/null +++ b/X10D.WinForms/README.md @@ -0,0 +1,12 @@ +# X10D.WinForms + +## About +The X10D.WinForms library contains extension methods for the System.Windows.Forms library. + +## Extended Classes +Below is a list of the number of extension methods written for a given type. Overloaded methods are not counted. + +| Type | Library | Method count | +| :--- | :--- | :--- | +| `Control` | `X10D.WinForms` | 1 | +| `ListViewItem` | `X10D.Unity` | 1 | diff --git a/X10D/README.md b/X10D/README.md new file mode 100644 index 0000000..c50d494 --- /dev/null +++ b/X10D/README.md @@ -0,0 +1,27 @@ +# X10D + +## About +The X10D library contains extension methods for standard .NET library types. + +## Extended Classes +Below is a list of the number of extension methods written for a given type. Overloaded methods are not counted. + +| Type | Library | Method count | +| :--- | :--- | :--- | +| `bool` | `X10D` | 1 | +| `byte` / `byte[]` | `X10D` | 8 | +| `char` | `X10D` | 1 | +| `IComparable` | `X10D` | 1 | +| `IConvertible` | `X10D` | 4 | +| `DateTime` | `X10D` | 11 | +| `EndPoint` | `X10D` | 2 | +| `double` | `X10D` | 5 | +| `enum` | `X10D` | 2 | +| `float` | `X10D` | 5 | +| `short` / `ushort` | `X10D` | 11 | +| `int` / `uint` | `X10D` | 23 | +| `long` / `ulong` | `X10D` | 11 | +| `IList` | `X10D` | 2 | +| `Random` | `X10D` | 2 | +| `string` / `SecureString` | `X10D` | 7 | +| `TimeSpan` | `X10D` | 1 |