internal LoadResult( ILogCenter log, MethodInfo loader, bool fileNotFound, IReadOnlyList<ISimpleErrorMessage> warnings ) { Debug.Assert( log != null && loader != null ); _log = log; _loader = loader; FileNotFound = fileNotFound; Warnings = warnings ?? ReadOnlyListEmpty<ISimpleErrorMessage>.Empty; }
internal LoadResult(ILogCenter log, MethodInfo loader, bool fileNotFound, IReadOnlyList <ISimpleErrorMessage> warnings) { Debug.Assert(log != null && loader != null); _log = log; _loader = loader; FileNotFound = fileNotFound; Warnings = warnings ?? ReadOnlyListEmpty <ISimpleErrorMessage> .Empty; }
public void Log() { if (_log == null) { return; } _log = null; }
public void Log() { if( _log == null ) return; _log = null; }