TypeAlias Class

Summary

a simple Alias for a single Class or Type, using equals on the names in the resolve method.
Assembly
Db4objects.Db4o-2010.dll
Namespace
Db4objects.Db4o.Config
Interfaces
Base Types
  • Object
graph BT Type-->Base0["Object"] Type-.->Interface0["IAlias"] click Interface0 "/db4o-gpl-doc/output/api/Db4objects.Db4o.Config/IAlias" Type["TypeAlias"] class Type type-node

Syntax

public class TypeAlias : IAlias

Remarks

a simple Alias for a single Class or Type, using equals on the names in the resolve method.

See Db4objects.Db4o.Config.IAlias for concrete examples.

Constructors

Name Summary
TypeAlias(string, string) pass the stored name as the first parameter and the desired runtime name as the second parameter.
TypeAlias(Type, Type)

Methods

Name Value Summary
ResolveRuntimeName(string) string
returns the stored type name if the alias was written for the passed runtime type name
ResolveStoredName(string) string
returns the runtime type name if the alias was written for the passed stored type name