NuGet.PackageReferenceFile.PackageReferenceFile C# (CSharp) Method

PackageReferenceFile() public method

public PackageReferenceFile ( IFileSystem fileSystem, string path ) : System
fileSystem IFileSystem
path string
return System
        public PackageReferenceFile(IFileSystem fileSystem, string path)
        {
            if (fileSystem == null)
            {
                throw new ArgumentNullException("fileSystem");
            }
            if (String.IsNullOrEmpty(path))
            {
                throw new ArgumentException(CommonResources.Argument_Cannot_Be_Null_Or_Empty, "path");
            }

            FileSystem = fileSystem;
            _path = path;
        }

Same methods

PackageReferenceFile::PackageReferenceFile ( string path ) : System