src/NLog/Targets/EventLogTarget.cs
/// <summary>
/// Determines whether the item is installed.
/// </summary>
/// <param name="installationContext">The installation context.</param>
/// <returns>
/// Value indicating whether the item is installed or null if it is not possible to determine.
/// </returns>
Determines whether the item is installed.
Determines whether the item is installed .
public bool? IsInstalled(InstallationContext installationContext)
        {
            var fixedSource = GetFixedSource();
            if (!string.IsNullOrEmpty(fixedSource))
            {
                return _eventLogWrapper.SourceExists(fixedSource, MachineName);
            }
            InternalLogger.Debug("EventLogTarget(Name={0}): Unclear if event source exists because it contains layout renderers", Name);
            return null; 
        }
public bool ? IsInstalled ( InstallationContext installationContext ) { var fixedSource = GetFixedSource ( ) ; if ( ! string . IsNullOrEmpty ( fixedSource ) ) { return _eventLogWrapper . SourceExists ( fixedSource , MachineName ) ; } InternalLogger . Debug ( " " , Name ) ; return null ; }
Determines whether the item is installed.
Determines whether the item is installed .
//unclear!
Value indicating whether the item is installed or null if it is not possible to determine.
Value indicating whether the item is installed or null if it is not possible to determine .
installationContext
InstallationContext
The installation context.
The installation context .