Table of Contents

Method ConvertFromSettings

Namespace
Innova.Data
Assembly
Innova.Data.dll

ConvertFromSettings<T, E>(T)

Converts the specified object to a list of settings.

public static List<E> ConvertFromSettings<T, E>(T from) where T : class, new() where E : IBaseSettings, new()

Parameters

from T

The object to convert.

Returns

List<E>

The list of converted settings.

Type Parameters

T

The type of the object to convert.

E

The type of the settings.

Exceptions

ArgumentNullException

Thrown when the object to convert is null.