示例#1
0
 public void Register(Logging loggingFacility) {
     IsRegistered = true;
     loggingFacility.StartEvent += OnStart;
     loggingFacility.StopEvent += OnStop;
     loggingFacility.BeginCellEvent += OnBeginCell;
     loggingFacility.EndCellEvent += OnEndCell;
 }
示例#2
0
 public void SetUp()
 {
     logging = new Logging();
 }
示例#3
0
 public void Start(string message) {
     if (message.Length <= 0) return;
     logging = configuration.GetItem<Logging>();
     logging.StartWrite(message);
 }