43 lines
1.3 KiB
C#
43 lines
1.3 KiB
C#
using JetBrains.Annotations;
|
|
|
|
namespace NugetForUnity
|
|
{
|
|
/// <summary>
|
|
/// Represents a file entry inside a .nuspec file.
|
|
/// </summary>
|
|
public class NuspecContentFile
|
|
{
|
|
/// <summary>
|
|
/// Initializes a new instance of the <see cref="NuspecContentFile" /> class.
|
|
/// </summary>
|
|
public NuspecContentFile()
|
|
{
|
|
Source = string.Empty;
|
|
Target = string.Empty;
|
|
}
|
|
|
|
/// <summary>
|
|
/// Initializes a new instance of the <see cref="NuspecContentFile" /> class.
|
|
/// </summary>
|
|
/// <param name="source">The source path inside the project.</param>
|
|
/// <param name="target">The target path inside the .nupkg file.</param>
|
|
public NuspecContentFile([NotNull] string source, [NotNull] string target)
|
|
{
|
|
Source = source;
|
|
Target = target;
|
|
}
|
|
|
|
/// <summary>
|
|
/// Gets or sets the path for the source file inside the project.
|
|
/// </summary>
|
|
[NotNull]
|
|
public string Source { get; set; }
|
|
|
|
/// <summary>
|
|
/// Gets or sets the path for the target file inside the .nupkg file.
|
|
/// </summary>
|
|
[NotNull]
|
|
public string Target { get; set; }
|
|
}
|
|
}
|