PropertyBaseExtensions PropertyBaseExtensions Class

Definition

Extension methods for IPropertyBase.

public static class PropertyBaseExtensions
Public Module PropertyBaseExtensions
Inheritance
System.ObjectSystem.Object
PropertyBaseExtensionsPropertyBaseExtensions

Methods

Equals(Object) Equals(Object)

Inherited from System.Object

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

Inherited from System.Object

GetField(IPropertyBase) GetField(IPropertyBase)

Gets the name of the backing field for this property, or null if the backing field is not known.

public static string GetField(this IPropertyBase propertyBase)
<ExtensionAttribute>
Public Shared Function GetField(propertyBase As IPropertyBase) As String
Parameters
propertyBase
IPropertyBase IPropertyBase

The property for which the backing field will be returned.

Returns
System.String System.String

The name of the backing field, or null.

GetHashCode() GetHashCode()

Inherited from System.Object

GetPropertyAccessMode(IPropertyBase) GetPropertyAccessMode(IPropertyBase)

Gets the PropertyAccessMode being used for this property. Null indicates that the default property access mode is being used.

public static PropertyAccessMode? GetPropertyAccessMode(this IPropertyBase propertyBase)
<ExtensionAttribute>
Public Shared Function GetPropertyAccessMode(propertyBase As IPropertyBase) As PropertyAccessMode?
Parameters
propertyBase
IPropertyBase IPropertyBase

The property for which to get the access mode.

Returns
System.Nullable<PropertyAccessMode> System.Nullable(Of PropertyAccessMode)

The access mode being used, or null if the default access mode is being used.

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