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;
 }
Exemple #2
0
 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;
 }
Exemple #3
0
        public void Log()
        {
            if (_log == null)
            {
                return;
            }

            _log = null;
        }
 public void Log()
 {
     if( _log == null ) return;
     
     _log = null;
 }