Exemplo n.º 1
0
 public StartUp(IKeyLogger keyLogger,
                IImageCommentEmbedder imageCommentEmbedder,
                ICurrentActivityProvider currentActivityProvider,
                IActivityRepositary activityRepositary,
                ILogFileArchiver logFileArchiver)
 {
     _keyLogger               = keyLogger;
     _imageCommentEmbedder    = imageCommentEmbedder;
     _currentActivityProvider = currentActivityProvider;
     _activityRepositary      = activityRepositary;
     _logFileArchiver         = logFileArchiver;
 }
Exemplo n.º 2
0
 public frmPictureViewer()
 {
     _activityRepositary = new ActivityRepositary(new JarFileFactory(), new ImageCommentEmbedder(), new ActivityReaderFactory(new JarFileFactory()));
     InitializeComponent();
     EventContainer.SubscribeEvent(RecordSession.Events.CloseCurrentSession.ToString(), OnCloseCurrentSession);
 }