Example implementation of IIdentifiable interface.
More...
|
| ExampleIRegistrable (string str) |
|
void | Register () |
| Registers the current object. Subsequent calls (after the first one) have no effect. More...
|
|
bool | IsRegistered () |
| Returns true if the current object is registered, false if not. More...
|
|
void | Unregister () |
| Unregisters the current object if it is currently registered. Can be performed several times, in this case only the first call may have effect. More...
|
|
override string | ToString () |
|
|
virtual int | Id [get] |
| Returns unique Id (in the scope of a given type) of the current object. Method is defined as virtual so that derived class can have its own IDs by defining its own static IdentifiableGenerator object. More...
|
|
ObjectRegister
< ExampleIRegistrable > | ObjectRegister [get] |
| Gets object register where the current object is registered. More...
|
|
ObjectRegister< T > | ObjectRegister [get] |
| Gets the object register where the current object can be registered. More...
|
|
int | Id [get] |
| Returns unique ID (in the scope of a given type) of the current object. More...
|
|
Example implementation of IIdentifiable interface.
IG.Lib.RegisterableExamples.ExampleIRegistrable.ExampleIRegistrable |
( |
string |
str | ) |
|
|
inline |
void IG.Lib.RegisterableExamples.ExampleIRegistrable.Register |
( |
| ) |
|
|
inline |
bool IG.Lib.RegisterableExamples.ExampleIRegistrable.IsRegistered |
( |
| ) |
|
|
inline |
void IG.Lib.RegisterableExamples.ExampleIRegistrable.Unregister |
( |
| ) |
|
|
inline |
override string IG.Lib.RegisterableExamples.ExampleIRegistrable.ToString |
( |
| ) |
|
|
inline |
string IG.Lib.RegisterableExamples.ExampleIRegistrable._msg |
|
protected |
Initial value:=
new ObjectRegister<ExampleIRegistrable>(1 )
Static object that providees object register and generates IDs for this class:
IdProxy IG.Lib.RegisterableExamples.ExampleIRegistrable._idPproxy |
|
private |
Initial value:
Proxy object that implements the IIdentifiable interface for this object.
virtual int IG.Lib.RegisterableExamples.ExampleIRegistrable.Id |
|
get |
Returns unique Id (in the scope of a given type) of the current object. Method is defined as virtual so that derived class can have its own IDs by defining its own static IdentifiableGenerator object.
ObjectRegister<ExampleIRegistrable> IG.Lib.RegisterableExamples.ExampleIRegistrable.ObjectRegister |
|
get |
The documentation for this class was generated from the following file: