The LazyInitializer type exposes the following members.

Constructors

  NameDescription
LazyInitializer
Create a LazyInitializer to handle all of the Methods/Properties that are called on the Proxy.

Methods

  NameDescription
AddSerializationInfo
Adds all of the information into the SerializationInfo that is needed to reconstruct the proxy during deserialization or to replace the proxy with the instantiated target.
Equals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Finalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
GetHashCode
Serves as a hash function for a particular type. GetHashCode()()() is suitable for use in hashing algorithms and data structures like a hash table.
(Inherited from Object.)
GetImplementationOverloaded.
GetType
Gets the Type of the current instance.
(Inherited from Object.)
Initialize
Perform an ImmediateLoad of the actual object for the Proxy.
Invoke
Invokes the method if this is something that the LazyInitializer can handle without the underlying proxied object being instantiated.
MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
SetImplementation
ToString
Returns a String that represents the current Object.
(Inherited from Object.)

Fields

  NameDescription
InvokeImplementation
If this is returned by Invoke then the subclass needs to Invoke the method call against the object that is being proxied.

Properties

See Also