Commonly used CSharp extension methods used at andculture.
This package is installed via NuGet
dotnet add [<PROJECT>] package AndcultureCode.CSharp.Extensions
After installation, simply import the extensions namespace to gain access to all of the available extension methods
using System;
using System.Collection.Generic;
using AndcultureCode.CSharp.Extensions;
public class Program
{
public static int Main(string[] args)
{
new List<string>().IsEmpty(); // returns true
}
}
- Install Dotnet Core 2.x
- Install the
and-cli
tooling found at AndcultureCode.Cli
Below are a few basics to get you started, but there are many more commands and options for managing this and other projects found in the and-cli
.
- Run the build command
and-cli dotnet --build
- Run the test command
and-cli dotnet-test
- Open the
coverage/index.htm
file in your browser
- Run the publish command with the next version number (See semver package versioning)
and-cli nuget --publish <version>
Information on contributing to this repo is in the Contributing Guide