| ExtensionMethodsSemanticEqualsTEntity Method |
Determine semantic equality of each item in me and other
Namespace:
SanteDB
Assembly:
SanteDB.Core.Model (in SanteDB.Core.Model.dll) Version: 3.0.481-alpha
Syntax public static bool SemanticEquals<TEntity>(
this IEnumerable<TEntity> me,
IEnumerable<TEntity> other
)
where TEntity : IdentifiedData
<ExtensionAttribute>
Public Shared Function SemanticEquals(Of TEntity As IdentifiedData) (
me As IEnumerable(Of TEntity),
other As IEnumerable(Of TEntity)
) As Boolean
public:
[ExtensionAttribute]
generic<typename TEntity>
where TEntity : IdentifiedData
static bool SemanticEquals(
IEnumerable<TEntity>^ me,
IEnumerable<TEntity>^ other
)
[<ExtensionAttribute>]
static member SemanticEquals :
me : IEnumerable<'TEntity> *
other : IEnumerable<'TEntity> -> bool when 'TEntity : IdentifiedData
Parameters
- me
- Type: System.Collections.GenericIEnumerableTEntity
[Missing <param name="me"/> documentation for "M:SanteDB.ExtensionMethods.SemanticEquals``1(System.Collections.Generic.IEnumerable{``0},System.Collections.Generic.IEnumerable{``0})"]
- other
- Type: System.Collections.GenericIEnumerableTEntity
[Missing <param name="other"/> documentation for "M:SanteDB.ExtensionMethods.SemanticEquals``1(System.Collections.Generic.IEnumerable{``0},System.Collections.Generic.IEnumerable{``0})"]
Type Parameters
- TEntity
[Missing <typeparam name="TEntity"/> documentation for "M:SanteDB.ExtensionMethods.SemanticEquals``1(System.Collections.Generic.IEnumerable{``0},System.Collections.Generic.IEnumerable{``0})"]
Return Value
Type:
Boolean[Missing <returns> documentation for "M:SanteDB.ExtensionMethods.SemanticEquals``1(System.Collections.Generic.IEnumerable{``0},System.Collections.Generic.IEnumerable{``0})"]
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
IEnumerableTEntity. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
See Also