PostSharp 2023.0 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Patterns.​Utilities Namespace / Unknown­Object­Accessor Structure / Unknown­Object­Accessor Methods / Unknown­Object­Accessor.​Get­Instance Method

UnknownObjectAccessor.GetInstance Method

Gets an UnknownObjectAccessor for a specific object.

Namespace:  PostSharp.Patterns.Utilities
Assembly:  PostSharp.Patterns.Common (in PostSharp.Patterns.Common.dll) Version: 2023.0.3.0 (2023.0.3.0)
Syntax
C#
public static UnknownObjectAccessor GetInstance(
	Object value
)

Parameters

value
Type: System.Object
The wrapped object.

Return Value

Type: UnknownObjectAccessor
A wrapper for value.
See Also