IReflector Interface

Summary

root of the reflection implementation API.
graph BT Type-.->Interface0["IDeepClone"] click Interface0 "/db4o-gpl-doc/output/api/Db4objects.Db4o.Foundation/IDeepClone" Type["IReflector"] class Type type-node Implementing0["NetReflector"]-.->Type click Implementing0 "/db4o-gpl-doc/output/api/Db4objects.Db4o.Reflect.Net/NetReflector" Implementing1["GenericReflector"]-.->Type click Implementing1 "/db4o-gpl-doc/output/api/Db4objects.Db4o.Reflect.Generic/GenericReflector"

Syntax

public interface IReflector : IDeepClone

Remarks

root of the reflection implementation API.

The open reflection interface is supplied to allow to implement custom reflection functionality.

Use IConfiguration.ReflectWith to register the use of your implementation before opening database files.

Methods

Name Value Summary
Array() IReflectArray
returns an ReflectArray object.
Configuration(IReflectorConfiguration) void
ForClass(Type) IReflectClass
returns an ReflectClass for a Class
ForName(string) IReflectClass
returns an ReflectClass class reflector for a class name or null if no such class is found
ForObject(Object) IReflectClass
returns an ReflectClass for an object or null if the passed object is null.
IsCollection(IReflectClass) bool
SetParent(IReflector) void