Ejemplo n.º 1
0
        private void Init(String compensator, String description, CompensatorOptions flags)
        {
            // Create the logcontrol object:
            DBG.Info(DBG.CRM, "Creating the log-control object");
            _control = new CrmLogControl();

            DBG.Info(DBG.CRM, "Registering the compensator '" + compensator + "' w/ the control.");
            _control.RegisterCompensator(compensator, description, (int)flags);

            DBG.Info(DBG.CRM, "Getting monitor from log-control object");
            _monitor = _control.GetMonitor();
        }
 private void Init(string compensator, string description, CompensatorOptions flags)
 {
     this._control = new CrmLogControl();
     this._control.RegisterCompensator(compensator, description, (int modopt(IsLong)) flags);
     this._monitor = this._control.GetMonitor();
 }
 internal Clerk(CrmLogControl logControl)
 {
     this._control = logControl;
     this._monitor = this._control.GetMonitor();
 }
Ejemplo n.º 4
0
 private void Init(string compensator, string description, CompensatorOptions flags)
 {
     this._control = new CrmLogControl();
     this._control.RegisterCompensator(compensator, description, (int modopt(IsLong))flags);
     this._monitor = this._control.GetMonitor();
 }
Ejemplo n.º 5
0
 internal Clerk(CrmLogControl logControl)
 {
     this._control = logControl;
     this._monitor = this._control.GetMonitor();
 }
Ejemplo n.º 6
0
 internal Clerk(CrmLogControl logControl)
 {
     DBG.Assert(logControl != null, "logControl object is null!");
     _control = logControl;
     _monitor = _control.GetMonitor();
 }