Table of Contents

GetRuntimePropertiesExceptOf Method

Definition

Namespace
Cuemon
Assemblies
Cuemon.Core.dll
Source
src/Cuemon.Core/Extensions/TypeDecoratorExtensions.cs

GetRuntimePropertiesExceptOf<T>(IDecorator<Type>)

Retrieves a collection that represents all the properties defined on the enclosed Type of the decorator except those defined on T.

public static IEnumerable<PropertyInfo> GetRuntimePropertiesExceptOf<T>(this IDecorator<Type> decorator)

Parameters

decorator IDecorator<Type>

The IDecorator<T> to extend.

Returns

IEnumerable<PropertyInfo>

A collection of properties for the enclosed Type of the decorator except those defined on T.

Type Parameters

T

The type to exclude properties on the enclosed Type of the decorator.

Exceptions

ArgumentNullException

decorator cannot be null.