Ejemplo n.º 1
0
 public DeltaModelDictionary(IEntityHandler parent, string property, DeltaModelManager manager, TypeConfiguration configuration)
 {
     _manager     = manager;
     _typeConfig  = configuration;
     Parent       = parent;
     NameInParent = property;
 }
Ejemplo n.º 2
0
            public MultiThreadLocker(DeltaModelManager manager)
            {
                Monitor.Enter(manager);
                _manager = manager;

#if DEBUG
                _threadId = Thread.CurrentThread.ManagedThreadId;
#endif
            }
        public DeltaModelInterceptor(TypeConfiguration configuration, DeltaModelManager manager, IEntityHandler parent, string property)
        {
            _typeConfig  = configuration;
            _manager     = manager;
            Parent       = parent;
            NameInParent = property;

            foreach (var prop in configuration.Members)
            {
                if (prop.Value.TypeConfiguration.ValueType != null)
                {
                    _values[prop.Key] = prop.Value.TypeConfiguration.Creator(this, prop.Key);
                }

                if (prop.Value.DefaultValue != null)
                {
                    _values[prop.Key] = prop.Value.DefaultValue;
                }
            }
        }
 public SubscriptionManager(DeltaModelManager manager)
 {
     _manager = manager;
 }
Ejemplo n.º 5
0
 public void SetManager(DeltaModelManager manager)
 {
     _manager = manager;
 }
Ejemplo n.º 6
0
 public void SetManager(DeltaModelManager m)
 {
 }