| LightCreateInstanceCore Method |
When implemented in a derived class, creates a new instance of the
Light derived class.
Namespace: DigitalRune.GraphicsAssembly: DigitalRune.Graphics (in DigitalRune.Graphics.dll) Version: 1.2.0.0 (1.2.1.14562)
Syntax protected abstract Light CreateInstanceCore()
Protected MustOverride Function CreateInstanceCore As Light
protected:
virtual Light^ CreateInstanceCore() abstract
abstract CreateInstanceCore : unit -> Light
Return Value
Type:
LightThe 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
Light derived class must implement this method. A typical implementation is to
simply call the default constructor and return the result.
See Also