Class File
- Namespace
- Crews.PlanningCenter.Api.People
- Assembly
- Crews.PlanningCenter.Api.dll
Represents a file, such as a profile picture or document.
[ExcludeFromCodeCoverage(Justification = "This type is a DTO with no logic to test.")]
public record File : IEquatable<File>
- Inheritance
-
File
- Implements
- Inherited Members
Constructors
File()
public File()
File(File)
protected File(File original)
Parameters
originalFile
Properties
EqualityContract
protected virtual Type EqualityContract { get; }
Property Value
Url
The URL where the file can be accessed.
public Uri? Url { get; init; }
Property Value
- Uri
Methods
Equals(File?)
public virtual bool Equals(File? other)
Parameters
otherFile
Returns
Equals(object?)
public override bool Equals(object? obj)
Parameters
objobject
Returns
GetHashCode()
public override int GetHashCode()
Returns
PrintMembers(StringBuilder)
protected virtual bool PrintMembers(StringBuilder builder)
Parameters
builderStringBuilder
Returns
ToString()
public override string ToString()
Returns
Operators
operator ==(File?, File?)
public static bool operator ==(File? left, File? right)
Parameters
Returns
operator !=(File?, File?)
public static bool operator !=(File? left, File? right)