Class PackageDotnetProps
Properties for dotnet package
Inherited Members
Namespace: BuildSystem.Package.Dotnet
Assembly: BuildSystem.Core.dll
Syntax
public class PackageDotnetProps : PackageProps, IPackageProps, ICloneable
Constructors
PackageDotnetProps(ILogger?, string)
Properties for dotnet package
Declaration
public PackageDotnetProps(ILogger? logger, string parentTempDir)
Parameters
Type | Name | Description |
---|---|---|
ILogger | logger | Logging object |
string | parentTempDir | Parent folder for all temporary folders of this object |
Properties
ProjectPath
Path to .csproj file - works only for Dotnet package manager
Declaration
public string? ProjectPath { get; set; }
Property Value
Type | Description |
---|---|
string |
Methods
Clone()
Creates a new instance - copy of current object
Declaration
public override object Clone()
Returns
Type | Description |
---|---|
object |
Overrides
Copy(IPackageProps)
Copy properties from another object. New properties will override even if new value is null
Declaration
public override void Copy(IPackageProps source)
Parameters
Type | Name | Description |
---|---|---|
IPackageProps | source |
Overrides
EmptyValues()
Copy properties from another object. New properties will override even if new value is null
Declaration
public override void EmptyValues()
Overrides
GetResultVariantFiles(string?)
Read variant files with using RelativeBuildPath and Constants
Declaration
public override Dictionary<string, List<PackageFiles>> GetResultVariantFiles(string? variantFilter = null)
Parameters
Type | Name | Description |
---|---|---|
string | variantFilter | Name of variant for filtering results. If null - this filter disabled |
Returns
Type | Description |
---|---|
System.Collections.Generic.Dictionary<,><string, System.Collections.Generic.List<><PackageFiles>> |
Overrides
Implements
System.ICloneable