Beispiel #1
0
 public void Add(string TypeName, PmcCounter CounterInst)
 {
     m_Counters.Add(TypeName, CounterInst);
 }
Beispiel #2
0
 // Methods
 public ConnectionProvider(string name)
 {
     this.m_ConnectionName = name;
       this.m_ConnectionAliveEvent = null;
       this.m_ConnectionDeadEvent = null;
       this.m_State = ConnectionAvailabilityState.NotTried;
       this.m_ConnException = null;
       this.m_AvailableCounter = null;
       this.m_ErrorCounter = null;
       this.m_AutoRecoveryInterval = 0;
       this.m_RecoveryThread = null;
 }