Exemplo n.º 1
0
 public InterningRoot1(Lifetime lifetime, IProtocol protocol) : this()
 {
     Identify(protocol.Identities, RdId.Root.Mix(GetType().Name));
     Bind(lifetime, protocol, GetType().Name);
     if (Protocol.InitializationLogger.IsTraceEnabled())
     {
         Protocol.InitializationLogger.Trace("CREATED toplevel object {0}", this.PrintToString());
     }
 }
Exemplo n.º 2
0
 protected override void Init(Lifetime lifetime)
 {
     myValue.Bind(lifetime, this, "myValue");
 }
Exemplo n.º 3
0
 public InterningRoot1(Lifetime lifetime, IProtocol protocol) : this()
 {
     Identify(protocol.Identities, RdId.Root.Mix(GetType().Name));
     Bind(lifetime, protocol, GetType().Name);
     Protocol.InitTrace?.Log($"CREATED toplevel object {this.PrintToString()}");
 }