mirror of https://github.com/dotnet/tye.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
869 B
23 lines
869 B
|
|
// Copyright (c) .NET Foundation. All rights reserved.
|
|
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
|
|
|
|
using System;
|
|
|
|
namespace Microsoft.AspNetCore.Testing
|
|
{
|
|
[AttributeUsage(AttributeTargets.Assembly, AllowMultiple = false, Inherited = true)]
|
|
public class TestOutputDirectoryAttribute : Attribute
|
|
{
|
|
public TestOutputDirectoryAttribute(string preserveExistingLogsInOutput, string targetFramework, string baseDirectory = null)
|
|
{
|
|
TargetFramework = targetFramework;
|
|
BaseDirectory = baseDirectory;
|
|
PreserveExistingLogsInOutput = bool.Parse(preserveExistingLogsInOutput);
|
|
}
|
|
|
|
public string BaseDirectory { get; }
|
|
public string TargetFramework { get; }
|
|
public bool PreserveExistingLogsInOutput { get; }
|
|
}
|
|
}
|
|
|