Click or drag to resize

IEvolvableObjectGetEvolvable Method

Oracle® Fusion Middleware .NET API Reference for Oracle Coherence
14c (14.1.1.0)
F23534-02
Return IEvolvable holder object for the specified type id.

Namespace:  Tangosol.IO.Pof
Assembly:  Coherence (in Coherence.dll) Version: 14.1.1.14 (14.1.1.14)
Syntax
C#
IEvolvable GetEvolvable(
	int nTypeId
)

Parameters

nTypeId
Type: SystemInt32
Type id to get IEvolvable instance for.

Return Value

Type: IEvolvable
IEvolvable instance for the specified type id.
Remarks
This method should only return Evolvable instance if the specified type id matches its own type id. Otherwise, it should delegate to the parent:
Examples
// assuming type ID of this class is 1234 private IEvolvable evolvable = new SimpleEvolvable(1234); ... public IEvolvable GetEvolvable(int nTypeId) { if (1234 == nTypeId) { return this.evolvable; } return base.GetEvolvable(nTypeId); }
See Also