Table of Contents

Class ReflectionUtilities

Namespace
DisCatSharp.Common.Utilities
Assembly
DisCatSharp.Common.dll

Contains various utilities for use with .NET's reflection.

public static class ReflectionUtilities
Inheritance
ReflectionUtilities
Inherited Members

Methods

CreateEmpty(Type)

Creates an empty, uninitialized instance of specified type.

This method will not call the constructor for the specified type. As such, the object might not be properly initialized.

CreateEmpty<T>()

Creates an empty, uninitialized instance of type T.

This method will not call the constructor for type T. As such, the object might not be properly initialized.

ToDictionary<T>(T)

Converts a given object into a dictionary of property name to property value mappings.