Skip to content

Repository files navigation

n4.net.extensions

Build Status Build Status Coverage Status NuGet

A collection of useful type extensions provided by N4Works.com for .net

USAGE:

IDataReader extension:

using (var dataReader = ExecuteReader(command))
{
    IPerson person = new Person();
    
    person.Name = dataReader.GetFieldValue<string>("PersonName");
    
    return person;
}

Enum extension:

public enum GameTypes {
    [EnumValue("Role Playing Game")]
    RPG,
    [EnumValue("First Person Shooter")]
    FPS,
    Action
}
var typeDescription = GameTypes.RPG.GetValue();

About

A collection of useful type extensions provided by N4Works.com for .net

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages