Click or drag to resize

ExtensionMethodsSemanticEqualsTEntity Method

Determine semantic equality of each item in me and other

Namespace:  SanteDB.Core.Model
Assembly:  SanteDB.Core.Model (in SanteDB.Core.Model.dll) Version: 2.2.1
Syntax
public static bool SemanticEquals<TEntity>(
	this IEnumerable<TEntity> me,
	IEnumerable<TEntity> other
)
where TEntity : IdentifiedData

Parameters

me
Type: System.Collections.GenericIEnumerableTEntity

[Missing <param name="me"/> documentation for "M:SanteDB.Core.Model.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.Core.Model.ExtensionMethods.SemanticEquals``1(System.Collections.Generic.IEnumerable{``0},System.Collections.Generic.IEnumerable{``0})"]

Type Parameters

TEntity

[Missing <typeparam name="TEntity"/> documentation for "M:SanteDB.Core.Model.ExtensionMethods.SemanticEquals``1(System.Collections.Generic.IEnumerable{``0},System.Collections.Generic.IEnumerable{``0})"]

Return Value

Type: Boolean

[Missing <returns> documentation for "M:SanteDB.Core.Model.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