Show / Hide Table of Contents

Interface IWrapper<T>

Provides a generic way to wrap an object instance of T inside another object.

Inherited Members
IData.Data
Namespace: Cuemon
Assembly: Cuemon.Core.dll
Syntax
public interface IWrapper<out T> : IData
Type Parameters
Name Description
T

The type of the object instance to wrap inside another object.

Properties

| Improve this Doc View Source

HasMemberReference

Gets a value indicating whether this instance has a member reference.

Declaration
bool HasMemberReference { get; }
Property Value
Type Description
Boolean

true if this instance has a member reference; otherwise, false.

| Improve this Doc View Source

Instance

Gets the instance of the IWrapper<T> object.

Declaration
T Instance { get; }
Property Value
Type Description
T

The instance of the IWrapper<T> object.

| Improve this Doc View Source

InstanceType

Gets the type of the Instance.

Declaration
Type InstanceType { get; }
Property Value
Type Description
Type

The type of the Instance.

| Improve this Doc View Source

MemberReference

Gets the member from where Instance was referenced.

Declaration
MemberInfo MemberReference { get; }
Property Value
Type Description
MemberInfo

The member from where Instance was referenced.

Methods

| Improve this Doc View Source

InstanceAs<TResult>()

Returns a value that is equivalent to the instance of the node that this hierarchical structure represents.

Declaration
TResult InstanceAs<TResult>()
Returns
Type Description
TResult

A value that is equivalent to the instance of the node that this hierarchical structure represents.

Type Parameters
Name Description
TResult

The type of the return value.

| Improve this Doc View Source

InstanceAs<TResult>(IFormatProvider)

Returns a value that is equivalent to the instance of the node that this hierarchical structure represents.

Declaration
TResult InstanceAs<TResult>(IFormatProvider provider)
Parameters
Type Name Description
IFormatProvider provider

An object that supplies culture-specific formatting information.

Returns
Type Description
TResult

A value that is equivalent to the instance of the node that this hierarchical structure represents.

Type Parameters
Name Description
TResult

The type of the return value.

  • Improve this Doc
  • View Source
In This Article
Back to top Copyright 2008-2022 Geekle. All rights reserved. Code with passion and love; deploy with confidence. 👨‍💻️🔥❤️🚀😎
Generated by DocFX