Table of Contents

Class BirthdayPeople

Namespace
Crews.PlanningCenter.Api.People
Assembly
Crews.PlanningCenter.Api.dll

Represents a collection of people with birthdays.

[ExcludeFromCodeCoverage(Justification = "This type is a DTO with no logic to test.")]
public record BirthdayPeople : IEquatable<BirthdayPeople>
Inheritance
BirthdayPeople
Implements
Inherited Members

Constructors

BirthdayPeople()

public BirthdayPeople()

BirthdayPeople(BirthdayPeople)

protected BirthdayPeople(BirthdayPeople original)

Parameters

original BirthdayPeople

Properties

EqualityContract

protected virtual Type EqualityContract { get; }

Property Value

Type

People

The list of people with birthdays.

[JsonPropertyName("people")]
public IEnumerable<BirthdayPerson> People { get; init; }

Property Value

IEnumerable<BirthdayPerson>

Methods

Equals(BirthdayPeople?)

public virtual bool Equals(BirthdayPeople? other)

Parameters

other BirthdayPeople

Returns

bool

Equals(object?)

public override bool Equals(object? obj)

Parameters

obj object

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

PrintMembers(StringBuilder)

protected virtual bool PrintMembers(StringBuilder builder)

Parameters

builder StringBuilder

Returns

bool

ToString()

public override string ToString()

Returns

string

Operators

operator ==(BirthdayPeople?, BirthdayPeople?)

public static bool operator ==(BirthdayPeople? left, BirthdayPeople? right)

Parameters

left BirthdayPeople
right BirthdayPeople

Returns

bool

operator !=(BirthdayPeople?, BirthdayPeople?)

public static bool operator !=(BirthdayPeople? left, BirthdayPeople? right)

Parameters

left BirthdayPeople
right BirthdayPeople

Returns

bool