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

UnknownObjectAccessor.ToTuples Method

Converts the wrapped object to an array of name-value tuples.

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 IReadOnlyList<(string name, Object value)> ToTuples()

Return Value

Type: IReadOnlyList<ValueTuple<String, Object>>
See Also