Class RelationshipMap
- Namespace
- idunno.Bluesky.Graph
- Assembly
- idunno.Bluesky.dll
Represents a map of relationships between the actor idunno.AtProto.Did and other actors in the Bluesky social network.
public sealed record RelationshipMap : IEquatable<RelationshipMap>Inheritance
Implements
Inherited Members
Constructors
RelationshipMap(Did?, IReadOnlyCollection<RelationshipType>)
Creates a new instance of idunno.Bluesky.Graph.RelationshipMap.
[JsonConstructor]
public RelationshipMap(Did? actor, IReadOnlyCollection<RelationshipType> relationships)Parameters
actorDid?-
The idunno.AtProto.Did of the actor whose relationships are being described.
relationshipsIReadOnlyCollection<RelationshipType>-
A collection of idunno.Bluesky.Graph.RelationshipType objects representing the relationships of the actor.
RelationshipMap(Did?, IReadOnlyCollection<RelationshipType>)
Creates a new instance of idunno.Bluesky.Graph.RelationshipMap.
[JsonConstructor]
public RelationshipMap(Did? actor, IReadOnlyCollection<RelationshipType> relationships)Parameters
actorDid?-
The idunno.AtProto.Did of the actor whose relationships are being described.
relationshipsIReadOnlyCollection<RelationshipType>-
A collection of idunno.Bluesky.Graph.RelationshipType objects representing the relationships of the actor.
RelationshipMap(Did?, IReadOnlyCollection<RelationshipType>)
Creates a new instance of idunno.Bluesky.Graph.RelationshipMap.
[JsonConstructor]
public RelationshipMap(Did? actor, IReadOnlyCollection<RelationshipType> relationships)Parameters
actorDid?-
The idunno.AtProto.Did of the actor whose relationships are being described.
relationshipsIReadOnlyCollection<RelationshipType>-
A collection of idunno.Bluesky.Graph.RelationshipType objects representing the relationships of the actor.
Properties
Actor
Gets the idunno.AtProto.Did of the actor whose relationships are being described.
public Did? Actor { get; init; }Property Value
- Did?
Actor
Gets the idunno.AtProto.Did of the actor whose relationships are being described.
public Did? Actor { get; init; }Property Value
- Did?
Actor
Gets the idunno.AtProto.Did of the actor whose relationships are being described.
public Did? Actor { get; init; }Property Value
- Did?
Relationships
Gets a collection of idunno.Bluesky.Graph.RelationshipType objects representing the relationships of the actor idunno.Bluesky.Graph.RelationshipMap.Actor and other actors.
[JsonRequired]
public IReadOnlyCollection<RelationshipType> Relationships { get; init; }Property Value
Relationships
Gets a collection of idunno.Bluesky.Graph.RelationshipType objects representing the relationships of the actor idunno.Bluesky.Graph.RelationshipMap.Actor and other actors.
[JsonRequired]
public IReadOnlyCollection<RelationshipType> Relationships { get; init; }Property Value
Relationships
Gets a collection of idunno.Bluesky.Graph.RelationshipType objects representing the relationships of the actor idunno.Bluesky.Graph.RelationshipMap.Actor and other actors.
[JsonRequired]
public IReadOnlyCollection<RelationshipType> Relationships { get; init; }Property Value
Methods
<Clone>$()
public RelationshipMap <Clone>$()Returns
<Clone>$()
public RelationshipMap <Clone>$()Returns
<Clone>$()
public RelationshipMap <Clone>$()Returns
Equals(object?)
public override bool Equals(object? obj)Parameters
objobject?
Returns
Equals(RelationshipMap?)
public bool Equals(RelationshipMap? other)Parameters
otherRelationshipMap?
Returns
Equals(object?)
public override bool Equals(object? obj)Parameters
objobject?
Returns
Equals(RelationshipMap?)
public bool Equals(RelationshipMap? other)Parameters
otherRelationshipMap?
Returns
Equals(object?)
public override bool Equals(object? obj)Parameters
objobject?
Returns
Equals(RelationshipMap?)
public bool Equals(RelationshipMap? other)Parameters
otherRelationshipMap?
Returns
GetHashCode()
public override int GetHashCode()Returns
GetHashCode()
public override int GetHashCode()Returns
GetHashCode()
public override int GetHashCode()Returns
ToString()
public override string ToString()Returns
ToString()
public override string ToString()Returns
ToString()
public override string ToString()Returns
Operators
operator ==(RelationshipMap?, RelationshipMap?)
public static bool operator ==(RelationshipMap? left, RelationshipMap? right)Parameters
leftRelationshipMap?rightRelationshipMap?
Returns
operator ==(RelationshipMap?, RelationshipMap?)
public static bool operator ==(RelationshipMap? left, RelationshipMap? right)Parameters
leftRelationshipMap?rightRelationshipMap?
Returns
operator ==(RelationshipMap?, RelationshipMap?)
public static bool operator ==(RelationshipMap? left, RelationshipMap? right)Parameters
leftRelationshipMap?rightRelationshipMap?
Returns
operator !=(RelationshipMap?, RelationshipMap?)
public static bool operator !=(RelationshipMap? left, RelationshipMap? right)Parameters
leftRelationshipMap?rightRelationshipMap?
Returns
operator !=(RelationshipMap?, RelationshipMap?)
public static bool operator !=(RelationshipMap? left, RelationshipMap? right)Parameters
leftRelationshipMap?rightRelationshipMap?
Returns
operator !=(RelationshipMap?, RelationshipMap?)
public static bool operator !=(RelationshipMap? left, RelationshipMap? right)Parameters
leftRelationshipMap?rightRelationshipMap?