CopyFilePattern
Record sealed net10.0
Represents a file pattern for copying dependency files in a Dockerfile.
namespace Aspire.Hosting.JavaScript;
public sealed record CopyFilePattern : System.IEquatable<Aspire.Hosting.JavaScript.CopyFilePattern>{ // ...} IEquatable<CopyFilePattern>
11 members
Constructors1
Section titled ConstructorsProperties2
Section titled PropertiesDestinationget; initstringThe destination path where files should be copied (e.g., "./").
Sourceget; initstringThe source pattern for files to copy (e.g., "package*.json").
Methods8
Section titled Methods<Clone>$Deconstruct(string, string)Equals(object?)boolDetermines whether the specified object is equal to the current object.
Equals(CopyFilePattern?)boolIndicates whether the current object is equal to another object of the same type.
GetHashCodeintServes as the default hash function.
op_Equality(CopyFilePattern?, CopyFilePattern?)staticboolop_Inequality(CopyFilePattern?, CopyFilePattern?)staticboolToStringstringReturns a string that represents the current object.