ShellBrowser Delphi Components Documentation
|
class function EnsureInitialized<T: class, constructor>(var pVar: T): Boolean; overload; static;
Parameters |
Description |
var pVar: T |
The variable or member that should be initialized. |
True if an instance was created False if pVar was already assigned.
If pVar is nil, an instance of T is created and assigned to pVar. This is done in a threadsafe way.