Table of Contents

GetRuntimePropertiesExceptOf Method

Definition

Namespace
Cuemon.Extensions.Reflection
Assemblies
Cuemon.Extensions.Reflection.dll
Source
src/Cuemon.Extensions.Reflection/TypeExtensions.cs

GetRuntimePropertiesExceptOf<T>(Type)

Retrieves a collection that represents all the properties defined on a specified type except those defined on T.

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

Parameters

type Type

The type that contains the properties to include except those defined on T.

Returns

IEnumerable<PropertyInfo>

A collection of properties for the specified type except those defined on T.

Type Parameters

T

The type to exclude properties on type.

Exceptions

ArgumentNullException

type cannot be null.