private internal_IncrementRegister ( ) : void | ||
Résultat | void |
internal void internal_IncrementRegister ()
{
Interlocked.Increment (ref m_RegisterRequestCount);
}
public static void AddService (dLightWeightProcessBase _Process) { if (m_Processes != null) { if (_Process != null) { m_Processes.Add (_Process); _Process.internal_IncrementRegister (); Command command = new Command (eCommandType.Register, _Process); ThreadProcess.EnqueueCommand (command); command.Event.WaitOne (); } } else { throw new Exception ("dLightWeightProcessThread has not been initialised, please initialise it through the Foundation Initialisation System."); } }