Runner.GetNuspecPath C# (CSharp) Méthode

GetNuspecPath() public méthode

public GetNuspecPath ( ) : void
Résultat void
    void GetNuspecPath()
    {
        var strings = Directory.GetFiles(PackageDirectory, "*.nuspec");
        if (strings.Length != 1)
        {
            throw new ExpectedException(string.Format("Expected 1 .nuspec file in '{0}'.", PackageDirectory));
        }
        nuspecPath = strings[0];
    }