Class ArcherEntityExtensions
Inherited Members
Namespace: Estrelica.Archer.Entity
Assembly: Estrelica.Archer.Entities.dll
Syntax
[DoNotObfuscateType]
public static class ArcherEntityExtensions
Methods
ByAlias<T>(IEnumerable<IArcherAliasedEntity>, string, bool, bool)
Declaration
public static T ByAlias<T>(this IEnumerable<IArcherAliasedEntity> entities, string alias, bool throwExceptionIfInvalid = true, bool ignoreCase = false) where T : class, IArcherAliasedEntity
Parameters
IEnumerable<IArcherAliasedEntity> entities |
string alias |
bool throwExceptionIfInvalid |
bool ignoreCase |
Returns
T |
Type Parameters
T |
ByAlias<T>(IEnumerable<IArcherField>, string, bool, bool)
Declaration
public static T ByAlias<T>(this IEnumerable<IArcherField> fields, string alias, bool throwExceptionIfInvalid = true, bool ignoreCase = true) where T : class, IArcherField
Parameters
IEnumerable<IArcherField> fields |
string alias |
bool throwExceptionIfInvalid |
bool ignoreCase |
Returns
T |
Type Parameters
T |
ByAlias<T>(IEnumerable<T>, string, bool, bool)
Declaration
public static T ByAlias<T>(this IEnumerable<T> entities, string alias, bool throwExceptionIfInvalid = true, bool ignoreCase = false) where T : class, IArcherAliasedEntity
Parameters
IEnumerable<T> entities |
string alias |
bool throwExceptionIfInvalid |
bool ignoreCase |
Returns
T |
Type Parameters
T |
ByGuid<T>(IEnumerable<IArcherGuidEntity>, Guid, bool)
Declaration
public static T ByGuid<T>(this IEnumerable<IArcherGuidEntity> entities, Guid guid, bool throwExceptionIfInvalid = true) where T : class, IArcherGuidEntity
Parameters
IEnumerable<IArcherGuidEntity> entities |
Guid guid |
bool throwExceptionIfInvalid |
Returns
T |
Type Parameters
T |
ByGuid<T>(IEnumerable<IArcherGuidEntity>, string, bool)
Declaration
public static T ByGuid<T>(this IEnumerable<IArcherGuidEntity> entities, string guid, bool throwExceptionIfInvalid = true) where T : class, IArcherGuidEntity
Parameters
IEnumerable<IArcherGuidEntity> entities |
string guid |
bool throwExceptionIfInvalid |
Returns
T |
Type Parameters
T |
ByGuid<T>(IEnumerable<IArcherField>, Guid, bool)
Declaration
public static T ByGuid<T>(this IEnumerable<IArcherField> fields, Guid fieldGuid, bool throwExceptionIfInvalid = true) where T : class, IArcherField
Parameters
IEnumerable<IArcherField> fields |
Guid fieldGuid |
bool throwExceptionIfInvalid |
Returns
T |
Type Parameters
T |
ByGuid<T>(IEnumerable<IArcherField>, string, bool)
Declaration
public static T ByGuid<T>(this IEnumerable<IArcherField> fields, string fieldGuid, bool throwExceptionIfInvalid = true) where T : class, IArcherField
Parameters
IEnumerable<IArcherField> fields |
string fieldGuid |
bool throwExceptionIfInvalid |
Returns
T |
Type Parameters
T |
ByGuid<T>(IEnumerable<T>, Guid, bool)
Declaration
public static T ByGuid<T>(this IEnumerable<T> entities, Guid guid, bool throwExceptionIfInvalid = true) where T : class, IArcherGuidEntity
Parameters
IEnumerable<T> entities |
Guid guid |
bool throwExceptionIfInvalid |
Returns
T |
Type Parameters
T |
ByGuid<T>(IEnumerable<T>, string, bool)
Declaration
public static T ByGuid<T>(this IEnumerable<T> entities, string guid, bool throwExceptionIfInvalid = true) where T : class, IArcherGuidEntity
Parameters
IEnumerable<T> entities |
string guid |
bool throwExceptionIfInvalid |
Returns
T |
Type Parameters
T |
ById<T>(IEnumerable<IArcherField>, int, bool)
Declaration
public static T ById<T>(this IEnumerable<IArcherField> fields, int fieldId, bool throwExceptionIfInvalid = true) where T : class, IArcherField
Parameters
IEnumerable<IArcherField> fields |
int fieldId |
bool throwExceptionIfInvalid |
Returns
T |
Type Parameters
T |
ById<T>(IEnumerable<T>, int, bool)
Declaration
public static T ById<T>(this IEnumerable<T> entities, int id, bool throwExceptionIfInvalid = true) where T : class, IArcherEntity
Parameters
IEnumerable<T> entities |
int id |
bool throwExceptionIfInvalid |
Returns
T |
Type Parameters
T |
ByName<T>(IEnumerable<IArcherNamedEntity>, string, bool, bool)
Declaration
public static T ByName<T>(this IEnumerable<IArcherNamedEntity> entities, string name, bool throwExceptionIfInvalid = true, bool ignoreCase = false) where T : class, IArcherNamedEntity
Parameters
IEnumerable<IArcherNamedEntity> entities |
string name |
bool throwExceptionIfInvalid |
bool ignoreCase |
Returns
T |
Type Parameters
T |
ByName<T>(IEnumerable<IArcherField>, string, bool, bool)
Declaration
public static T ByName<T>(this IEnumerable<IArcherField> fields, string name, bool throwExceptionIfInvalid = true, bool ignoreCase = true) where T : class, IArcherField
Parameters
IEnumerable<IArcherField> fields |
string name |
bool throwExceptionIfInvalid |
bool ignoreCase |
Returns
T |
Type Parameters
T |
ByName<T>(IEnumerable<T>, string, bool, bool)
Declaration
public static T ByName<T>(this IEnumerable<T> entities, string name, bool throwExceptionIfInvalid = true, bool ignoreCase = false) where T : class, IArcherNamedEntity
Parameters
IEnumerable<T> entities |
string name |
bool throwExceptionIfInvalid |
bool ignoreCase |
Returns
T |
Type Parameters
T |
Contains(IEnumerable<IArcherValuesListValue>, Guid)
Declaration
public static bool Contains(this IEnumerable<IArcherValuesListValue> values, Guid valueGuid)
Parameters
IEnumerable<IArcherValuesListValue> values |
Guid valueGuid |
Returns
bool |
Contains(IEnumerable<IArcherValuesListValue>, int)
Declaration
public static bool Contains(this IEnumerable<IArcherValuesListValue> values, int valueId)
Parameters
IEnumerable<IArcherValuesListValue> values |
int valueId |
Returns
bool |
Contains(IEnumerable<IArcherValuesListValue>, string, bool)
Declaration
public static bool Contains(this IEnumerable<IArcherValuesListValue> values, string valueName, bool ignoreCase = true)
Parameters
IEnumerable<IArcherValuesListValue> values |
string valueName |
bool ignoreCase |
Returns
bool |