Exemplo n.º 1
0
        public void LoadRailwayModel()
        {
            Repository       = new ModelRepository();
            RailwayModel     = Repository.Resolve("railway.railway");
            RailwayContainer = RailwayModel.RootElements[0] as RailwayContainer;

            oldSystem = NotifySystem.DefaultSystem;
            NotifySystem.DefaultSystem = CreateNotifySystem();
        }
Exemplo n.º 2
0
 public void Init()
 {
     oldSystem = NotifySystem.DefaultSystem;
     NotifySystem.DefaultSystem = new ModelNotifySystem();
 }
Exemplo n.º 3
0
 public RecordingNotifySystem(INotifySystem inner)
 {
     Inner           = inner ?? NotifySystem.DefaultSystem;
     Configuration   = new Configuration();
     DefaultStrategy = IncrementalizationStrategy.InstructionLevel;
 }