Exemplo n.º 1
0
 public ContextualStream()
     : base(AccessContext.Create(
                CsScopeLogic.Default,
                CsScopeLogic.CompleteScope),
            factory)
 {
     state = new streamData();
 }
Exemplo n.º 2
0
 public asyncBox(T initial)
     : base(AccessContext.Create(
                RWScopeLogic.Instance,
                RWScopeLogic.MaximumScope),
            childFactory)
 {
     state = new[] { initial };
 }
Exemplo n.º 3
0
 public MyComponent(string connectionName)
     : base(AccessContext.Create(
                new FlagBasedAccessScopeLogic(),
                FlagBasedAccessScopeLogic.FullScope),
            factory.Default)
 {
     connection = message => Console.WriteLine(
         connectionName + ": " + message);
 }