Method ConvertFromSettings
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
TThe 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.