Example #1
0
 public void GlobalSetup()
 {
     builder = new RelationalLockBuilder();
     baseCfg = new RelationalLockConfigurator();
     baseCfg.RegisterRelation("key1", "key2", "key3");
     baseCfg.RegisterRelation("key2", "key4");
 }
Example #2
0
        public RelationalLockConfigurator Get3Key2RelConfigurator()
        {
            var cfg = new RelationalLockConfigurator();

            cfg.RegisterRelation("key1", "key2");
            cfg.RegisterRelation("key2", "key3");
            return(cfg);
        }
Example #3
0
        public void GlobalSetup()
        {
            var builder = new RelationalLockBuilder();
            var cfg     = new RelationalLockConfigurator();

            cfg.RegisterRelation("key1", "key2");
            cfg.RegisterRelation("key2", "key3");
            cfg.RegisterRelation("key3", "key4");
            cfg.RegisterRelation("key4", "key5");
            cfg.RegisterRelation("key5", "key1");
            manager = builder.Build(cfg);
        }
 public void Setup()
 {
     configurator = new RelationalLockConfigurator();
     builder      = new RelationalLockBuilder();
 }
Example #5
0
 public void Setup()
 {
     cfg = new RelationalLockConfigurator();
 }