Skip to content
DocsTry Aspire
DocsTry

CopyFilePattern Methods

RecordMethods8 members
Represents a file pattern for copying dependency files in a Dockerfile.
public record CopyFilePattern
{
public CopyFilePattern <Clone>$()
{
// ...
}
}
public record CopyFilePattern
{
public void Deconstruct(
out string Source,
out string Destination)
{
// ...
}
}
Sourcestring
Destinationstring
Equals(object?)Section titled Equals(object?)overridebool
Determines whether the specified object is equal to the current object.
public record CopyFilePattern
{
public override bool Equals(
object? obj)
{
// ...
}
}
objobject?The object to compare with the current object.
booltrue if the specified object is equal to the current object; otherwise, false.
Equals(CopyFilePattern?)Section titled Equals(CopyFilePattern?)bool
Indicates whether the current object is equal to another object of the same type.
public record CopyFilePattern
{
public bool Equals(
CopyFilePattern? other)
{
// ...
}
}
otherCopyFilePattern?An object to compare with this object.
booltrue if the current object is equal to the other parameter; otherwise, false.
GetHashCodeSection titled GetHashCodeoverrideint
Serves as the default hash function.
public record CopyFilePattern
{
public override int GetHashCode()
{
// ...
}
}
intA hash code for the current object.
op_Equality(CopyFilePattern?, CopyFilePattern?)Section titled op_Equality(CopyFilePattern?, CopyFilePattern?)staticbool
public record CopyFilePattern
{
public static bool operator ==(
CopyFilePattern? left,
CopyFilePattern? right)
{
// ...
}
}
op_Inequality(CopyFilePattern?, CopyFilePattern?)Section titled op_Inequality(CopyFilePattern?, CopyFilePattern?)staticbool
public record CopyFilePattern
{
public static bool operator !=(
CopyFilePattern? left,
CopyFilePattern? right)
{
// ...
}
}
ToStringSection titled ToStringoverridestring
Returns a string that represents the current object.
public record CopyFilePattern
{
public override string ToString()
{
// ...
}
}
stringA string that represents the current object.