Skip to content

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

License

Notifications You must be signed in to change notification settings

N4Works/n4.net.extensions

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

License

Stars

Watchers

Forks

Packages

No packages published

Languages