AnnotatableExtensions AnnotatableExtensions Class

Definition

Extension methods for IAnnotatable.

public static class AnnotatableExtensions
Public Module AnnotatableExtensions
Inheritance
System.ObjectSystem.Object
AnnotatableExtensionsAnnotatableExtensions

Methods

Equals(Object) Equals(Object)

Inherited from System.Object

Equals(Object, Object) Equals(Object, Object)

Inherited from System.Object

GetAnnotation(IAnnotatable, String) GetAnnotation(IAnnotatable, String)

Gets the annotation with the given name, throwing if it does not exist.

public static IAnnotation GetAnnotation(this IAnnotatable annotatable, string annotationName)
<ExtensionAttribute>
Public Shared Function GetAnnotation(annotatable As IAnnotatable, annotationName As String) As IAnnotation
Parameters
annotatable
IAnnotatable IAnnotatable

The object to find the annotation on.

annotationName
System.String System.String

The key of the annotation to find.

Returns

The annotation with the specified name.

GetHashCode() GetHashCode()

Inherited from System.Object

GetType() GetType()

Inherited from System.Object

MemberwiseClone() MemberwiseClone()

Inherited from System.Object

ReferenceEquals(Object, Object) ReferenceEquals(Object, Object)

Inherited from System.Object

ToString() ToString()

Inherited from System.Object