Exemplo n.º 1
0
 void Awake()
 {
     ServInjector.Bind <T>(this);
     OnAwake();
 }
Exemplo n.º 2
0
 protected void OnDestroy()
 {
     ServInjector.Unbind <T>(this);
     OnDestroyEvent();
 }
Exemplo n.º 3
0
 public void Dispose()
 {
     ServInjector.Unbind <T>(this);
     OnDispose();
 }
Exemplo n.º 4
0
 private Holder()
 {
     ServInjector.Register(this);
 }
Exemplo n.º 5
0
 public Service()
 {
     ServInjector.Bind <T>(this);
 }