Skip to content
Docs Try Aspire

CopyFilePattern Methods

Record Methods 8 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)
{
// ...
}
}
Source string
Destination string
Equals(object?) Section titled Equals(object?) override bool
Determines whether the specified object is equal to the current object.
public record CopyFilePattern
{
public override bool Equals(
object? obj)
{
// ...
}
}
obj object? The object to compare with the current object.
bool true 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)
{
// ...
}
}
other CopyFilePattern? An object to compare with this object.
bool true if the current object is equal to the other parameter; otherwise, false.
GetHashCode Section titled GetHashCode override int
Serves as the default hash function.
public record CopyFilePattern
{
public override int GetHashCode()
{
// ...
}
}
int A hash code for the current object.
op_Equality(CopyFilePattern?, CopyFilePattern?) Section titled op_Equality(CopyFilePattern?, CopyFilePattern?) static bool
public record CopyFilePattern
{
public static bool operator ==(
CopyFilePattern? left,
CopyFilePattern? right)
{
// ...
}
}
op_Inequality(CopyFilePattern?, CopyFilePattern?) Section titled op_Inequality(CopyFilePattern?, CopyFilePattern?) static bool
public record CopyFilePattern
{
public static bool operator !=(
CopyFilePattern? left,
CopyFilePattern? right)
{
// ...
}
}
ToString Section titled ToString override string
Returns a string that represents the current object.
public record CopyFilePattern
{
public override string ToString()
{
// ...
}
}
string A string that represents the current object.