IReflectClass Interface

Summary

Reflection Class representation.
graph BT Type["IReflectClass"] class Type type-node Implementing0["GenericClass"]-.->Type click Implementing0 "/db4o-gpl-doc/output/api/Db4objects.Db4o.Reflect.Generic/GenericClass" Implementing1["GenericArrayClass"]-.->Type click Implementing1 "/db4o-gpl-doc/output/api/Db4objects.Db4o.Reflect.Generic/GenericArrayClass" Implementing2["NetClass"]-.->Type click Implementing2 "/db4o-gpl-doc/output/api/Db4objects.Db4o.Reflect.Net/NetClass" Implementing3["IConstructorAwareReflectClass"]-.->Type click Implementing3 "/db4o-gpl-doc/output/api/Db4objects.Db4o.Reflect.Core/IConstructorAwareReflectClass"

Syntax

public interface IReflectClass

Remarks

Reflection Class representation

See documentation for System.Reflection API.

Methods

Name Value Summary
EnsureCanBeInstantiated() bool
Calling this method may change the internal state of the class, even if a usable constructor has been found on earlier invocations.
GetComponentType() IReflectClass
GetDeclaredField(string) IReflectField
GetDeclaredFields() IReflectField[]
GetDelegate() IReflectClass
Returns the ReflectClass instance being delegated to.
GetMethod(string, IReflectClass[]) IReflectMethod
GetName() string
GetSuperclass() IReflectClass
IsAbstract() bool
IsArray() bool
IsAssignableFrom(IReflectClass) bool
IsCollection() bool
IsInstance(Object) bool
IsInterface() bool
IsPrimitive() bool
IsSimple() bool
We need this for replication, to find out if a class needs to be traversed or if it simply can be copied across.
NewInstance() Object
NullValue() Object
Reflector() IReflector

See Also

  • Db4objects.Db4o.Reflect.IReflector