Source/NFX/ServiceModel/Service.cs
/// <summary>
/// Checks for service activity and throws exception if service is not in ControlStatus.Active state
/// </summary>
Checks for service activity and throws exception if service is not in ControlStatus.Active state
Checks for service activity and throws exception if service is not in ControlStatus . Active state
protected void CheckServiceActive()
            {
                if (m_Status!=ControlStatus.Active)
                throw new NFXException(StringConsts.SERVICE_INVALID_STATE + Name);
            }
protected void CheckServiceActive ( ) { if ( m_Status != ControlStatus . Active ) throw new NFXException ( StringConsts . SERVICE_INVALID_STATE + Name ) ; }
Checks for service activity and throws exception if service is not in ControlStatus.Active state
Checks for service activity and throws exception if service is not in ControlStatus . Active state