inovationware.code
3.7.0
See the version list below for details.
dotnet add package inovationware.code --version 3.7.0
NuGet\Install-Package inovationware.code -Version 3.7.0
<PackageReference Include="inovationware.code" Version="3.7.0" />
<PackageVersion Include="inovationware.code" Version="3.7.0" />
<PackageReference Include="inovationware.code" />
paket add inovationware.code --version 3.7.0
#r "nuget: inovationware.code, 3.7.0"
#:package inovationware.code@3.7.0
#addin nuget:?package=inovationware.code&version=3.7.0
#tool nuget:?package=inovationware.code&version=3.7.0
Code Repertoire
Code Repertoire is multi-purpose for everyday use in .Net. Following are usage examples.
Bootstrap
Contains methods based on Bootstrap, currently 4 but upgrades are WIP.
C#:
using static iNovation.Code.Bootstrap
Alert("This is an alert");
VB:
Imports iNovation.Code.Bootstrap
Alert("This is an alert")
Charts
Contains methods for dynamically creating charts (Bar, Pie, Doughnut, Line) using given values or directly from database columns.
C#:
using static iNovation.Code.Charts
List<string> labels = new List<string> { "Q1", "Q2", "Q3" };
List<string> values = new List<string> { "50", "25", "75" };
string html = BarChart(labels, values);
VB:
Imports iNovation.Code.Charts
Dim labels As New List(Of String) From {"Q1", "Q2", "Q3"}
Dim values As New List(Of String) From {"50", "25", "75"}
Dim html As String = BarChart(labels, values)
Desktop
Contains methods mainly towards desktop development.
C#:
using static iNovation.Code.Desktoop
enum TitleOfCourtesy{
Mr, Mrs, Ms
}
//binds values of TitleOfCourtesy to comboBox1
EnumDrop(comboBox1, new TitleOfCourtesy());
VB:
Imports iNovation.Code.Desktop
Enum TitleOfCourtesy
Mr
Mrs
Ms
End Enum
' binds values of TitleOfCourtesy to ComboBox1
EnumDrop(ComboBox1, New TitleOfCourtesy())
DesktopExtensions
Contains extension methods based on methods from Desktop.
C#:
using static iNovation.Code.DesktopExtensions
//The items of comboBox1 are turned into a List
comboBox1.ToList();
VB:
Imports iNovation.Code.DesktopExtensions
' The items of ComboBox1 are turned into a List
ComboBox1.ToList()
Encryption
Ligthweight Encryption/Decryption.
C#:
using static iNovation.Code.Encryption
string key = "MyKey";
string value = "What to encrypt";
string encrypted = Encrypt(key, value);
string original = Decrypt(key, encrypted);
VB:
Imports iNovation.Code.Encryption
Dim key As String = "MyKey"
Dim value = "What to encrypt"
Dim encrypted As String = Encrypt(key, value)
Dim original As String = Decrypt(key, encrypted)
EncryptionExtensions
Contains extension methods based on methods from Encryption.
C#:
using static iNovation.Code.EncryptionExtensions
string key = "MyKey";
string value = "What to encrypt";
string encrypted = value.Encrypt(key);
string original = encrypted.Decrypt(key);
VB:
Imports iNovation.Code.EncryptionExtensions
Dim key As String = "MyKey"
Dim value = "What to encrypt"
Dim encrypted As String = value.Encrypt(key)
Dim original As String = value.Decrypt(key)
Feedback
Contains routines for giving feedback with Text-To-Speech and MessageBox.
C#:
using iNovation.Code.Feedback
//Text to speech
string s = "Hi";
Feedback feedback = new Feedback();
feedback.Inform(s);
VB:
Imports iNovation.Code.Feedback
' Text to speech
Dim s As String = "Hi"
Dim f As New Feedback()
f.Inform(s)
FeedbackExtensions
Contains extension methods based on methods from Feedback.
C#:
using iNovation.Code.FeedbackExtensions
//Text to speech
string s = "Hi";
s.Inform();
VB:
Imports iNovation.Code.FeedbackExtensions
' Text to speech
Dim s As String = "Hi"
s.Inform()
General
Contains methods for general purposes.
C#:
using static iNovation.Code.General
string email = "@provider.com";
bool valid = IsEmail(email); //false
VB:
Imports iNovation.Code.General
Dim email As String = "@provider.com"
Dim valid = IsEmail(email) ' False
GeneralExtensions
Contains extension methods based on methods from General.
C#:
using static iNovation.Code.GeneralExtensions
string input = "how Are you doing";
string output = input.ToTitleCase(); //How Are You Doing
VB:
Imports iNovation.Code.GeneralExtensions
Dim input As String = "how Are you doing"
Dim output = input.ToTitleCase() ' How Are You Doing
LoggingExtensions
Contains extension methods useful for logging common data types.
C#:
using static iNovation.Code.LoggingExtensions
string input = "just a log";
input.Log();
VB:
Imports iNovation.Code.LoggingExtensions
Dim input As String = "just a log"
input.Log()
Machine
Contains methods for dealing with the machine directly.
C#:
using static iNovation.Code.Machine
//Mutes the PC
Mute(this);
VB:
Imports iNovation.Code.Machine
' Mutes the PC
Mute(Me)
Sequel
Contains methods for database access.
C#:
using static iNovation.Code.Sequel
string table = "TableName";
string[] fields = { "ColumnName" };
string[] where_params = { "Id" };
object[] where_params_values = { "Id", 10 };
string connection_string = "Connection_String";
//creates select query
string query = iNovation.Code.General.BuildSelectString(table, fields, where_params);
//creates a DataTable
DataTable dataTable = QDataTable(query, connection_string, where_params_values);
VB:
Imports iNovation.Code.Sequel
Dim table As String = "TableName"
Dim fields As String() = {"ColumnName"}
Dim where_params As String() = {"Id"}
Dim where_params_values As Object() = {"Id", 10}
Dim connection_string As String = "Connection_String"
' creates select query
Dim query As String = iNovation.Code.General.BuildSelectString(table, fields, where_params)
' creates a DataTable
Dim d As DataTable = QDataTable(query, connection_string, where_params_values)
SequelOrm
Lightweight ORM. Joins aren't supported yet, but is actively WIP.
C#:
using iNovation.Code.SequelOrm //not strictly needed
class User
{
public int id { get; set; }
public string username { get; set; }
}
string connection_string = "Connection_String";
string database_name = "Database";
SequelOrm orm = SequelOrm.GetInstance(connection_string, database_name);
User sought = orm.FindById<User>(10);
VB:
Imports iNovation.Code.SequelOrm rem not strictly needed
Structure User
Public id As Integer
Public username As String
End Structure
Dim connection_string As String = "Connection_String"
Dim database_name As String = "Database"
Dim orm As SequelOrm = SequelOrm.GetInstance(connection_string, database_name)
Dim sought As User = orm.FindById(Of User)(10)
Styler
Contains methods for desktop development, particularly, styling the Form.
C#:
using static iNovation.Code.Styler
Style(this, true);
VB:
Imports iNovation.Code.Styler
Style(Me, True)
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET Framework | net461 is compatible. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
-
- Microsoft.Bcl.AsyncInterfaces (>= 1.0.0)
- Newtonsoft.Json (>= 13.0.3)
- System.Collections.Immutable (>= 1.7.1)
- System.Numerics.Vectors (>= 4.5.0)
- System.Runtime.CompilerServices.Unsafe (>= 4.5.3)
NuGet packages (3)
Showing the top 3 NuGet packages that depend on inovationware.code:
| Package | Downloads |
|---|---|
|
inovation.incode
Private |
|
|
SecurityAdapter
Description |
|
|
inovationware.securityAdapter
Private |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated | |
|---|---|---|---|
| 3.9.0 | 171 | 5/31/2025 | |
| 3.8.9 | 253 | 5/4/2025 | |
| 3.7.1 | 175 | 1/15/2025 | |
| 3.7.0 | 206 | 11/23/2024 | |
| 3.6.8 | 193 | 10/24/2024 | |
| 3.6.7 | 186 | 10/20/2024 | |
| 3.6.6 | 211 | 10/17/2024 | |
| 3.6.5 | 175 | 9/20/2024 | |
| 3.6.4 | 197 | 9/20/2024 | |
| 3.6.3 | 193 | 9/20/2024 | |
| 3.6.2 | 183 | 9/20/2024 | |
| 3.6.1 | 206 | 9/20/2024 | |
| 3.6.0 | 463 | 1/15/2024 | |
| 3.5.9 | 503 | 1/11/2024 | |
| 3.5.8 | 451 | 1/7/2024 | |
| 3.5.7 | 442 | 1/6/2024 | |
| 3.5.6 | 463 | 12/23/2023 | |
| 3.5.5 | 453 | 12/21/2023 | |
| 3.5.4 | 463 | 12/20/2023 | |
| 3.5.3 | 460 | 12/20/2023 |
### New Features
- Added Extension Methods
### Breaking Changes
- Desktop.ListToAray renamed to ListToArray
- Feedback.stress renamed to Stress