Microsoft.DocAsCode.Common.LoggerFileScope.LoggerFileScope C# (CSharp) Method

LoggerFileScope() public method

public LoggerFileScope ( string fileName ) : System
fileName string
return System
        public LoggerFileScope(string fileName)
        {
            if (string.IsNullOrWhiteSpace(fileName))
            {
                throw new ArgumentException("Phase name cannot be null or white space.", nameof(fileName));
            }
            _originFileName = GetFileName();
            SetFileName(fileName);
        }