| BasePartitionTCreateInstanceCore Method |
When implemented in a derived class, creates a new instance of the
BasePartitionT derived class.
Namespace: DigitalRune.Geometry.PartitioningAssembly: DigitalRune.Geometry (in DigitalRune.Geometry.dll) Version: 1.18.0.0 (1.18.2.14427)
Syntax protected abstract BasePartition<T> CreateInstanceCore()
Protected MustOverride Function CreateInstanceCore As BasePartition(Of T)
protected:
virtual BasePartition<T>^ CreateInstanceCore() abstract
abstract CreateInstanceCore : unit -> BasePartition<'T>
Return Value
Type:
BasePartitionTThe new instance.
Remarks
Do not call this method directly (except when calling base in an implementation). This
method is called internally by the Clone method whenever a new instance of the
BasePartitionT is created.
Notes to Inheritors: Every BasePartitionT derived class
must implement this method. A typical implementation is to simply call the default
constructor and return the result.
See Also