Class RecommendationReadOnlyCollection<T> Preview
BSKYUnspecced: 'idunno.Bluesky.Unspecced.RecommendationReadOnlyCollection
- Namespace
- idunno.Bluesky.Unspecced
- Assembly
- idunno.Bluesky.dll
A list of T, with an optional identifier for the recommendation which produced it.
[Experimental("BSKYUnspecced", UrlFormat = "https://bluesky.idunno.dev/docs/unspecced.html")]
public class RecommendationReadOnlyCollection<T> : ReadOnlyCollection<T>, IList<T>, ICollection<T>, IList, ICollection, IReadOnlyList<T>, IReadOnlyCollection<T>, IEnumerable<T>, IEnumerableType Parameters
T-
The type of items the list contains.
Inheritance
Implements
Inherited Members
Constructors
RecommendationReadOnlyCollection(IList<T>, string?)
A list of T, with an optional identifier for the recommendation which produced it.
public RecommendationReadOnlyCollection(IList<T> list, string? recommendationId)Parameters
listIList<T>-
The list to create this instance of idunno.Bluesky.Unspecced.RecommendationReadOnlyCollection`1 from.
recommendationIdstring?-
An optional identifier for the recommendation which produced
list.
RecommendationReadOnlyCollection()
Creates a new instance of idunno.Bluesky.Unspecced.RecommendationReadOnlyCollection`1 with an empty list and no recommendation identifier.
public RecommendationReadOnlyCollection()RecommendationReadOnlyCollection(ICollection<T>, string?)
Creates a new instance of idunno.Bluesky.Unspecced.RecommendationReadOnlyCollection`1.
public RecommendationReadOnlyCollection(ICollection<T> collection, string? recommendationId)Parameters
collectionICollection<T>-
A collection of
Tto create this instance of idunno.Bluesky.Unspecced.RecommendationReadOnlyCollection`1 from. recommendationIdstring?-
An optional identifier for the recommendation which produced
collection.
RecommendationReadOnlyCollection(IList<T>, string?)
A list of T, with an optional identifier for the recommendation which produced it.
public RecommendationReadOnlyCollection(IList<T> list, string? recommendationId)Parameters
listIList<T>-
The list to create this instance of idunno.Bluesky.Unspecced.RecommendationReadOnlyCollection`1 from.
recommendationIdstring?-
An optional identifier for the recommendation which produced
list.
RecommendationReadOnlyCollection()
Creates a new instance of idunno.Bluesky.Unspecced.RecommendationReadOnlyCollection`1 with an empty list and no recommendation identifier.
public RecommendationReadOnlyCollection()RecommendationReadOnlyCollection(ICollection<T>, string?)
Creates a new instance of idunno.Bluesky.Unspecced.RecommendationReadOnlyCollection`1.
public RecommendationReadOnlyCollection(ICollection<T> collection, string? recommendationId)Parameters
collectionICollection<T>-
A collection of
Tto create this instance of idunno.Bluesky.Unspecced.RecommendationReadOnlyCollection`1 from. recommendationIdstring?-
An optional identifier for the recommendation which produced
collection.
RecommendationReadOnlyCollection(IList<T>, string?)
A list of T, with an optional identifier for the recommendation which produced it.
public RecommendationReadOnlyCollection(IList<T> list, string? recommendationId)Parameters
listIList<T>-
The list to create this instance of idunno.Bluesky.Unspecced.RecommendationReadOnlyCollection`1 from.
recommendationIdstring?-
An optional identifier for the recommendation which produced
list.
RecommendationReadOnlyCollection()
Creates a new instance of idunno.Bluesky.Unspecced.RecommendationReadOnlyCollection`1 with an empty list and no recommendation identifier.
public RecommendationReadOnlyCollection()RecommendationReadOnlyCollection(ICollection<T>, string?)
Creates a new instance of idunno.Bluesky.Unspecced.RecommendationReadOnlyCollection`1.
public RecommendationReadOnlyCollection(ICollection<T> collection, string? recommendationId)Parameters
collectionICollection<T>-
A collection of
Tto create this instance of idunno.Bluesky.Unspecced.RecommendationReadOnlyCollection`1 from. recommendationIdstring?-
An optional identifier for the recommendation which produced
collection.
Properties
RecommendationId
An optional identifier for the recommendation which produced this collection, to be used when submitting recommendation events.
public string? RecommendationId { get; }Property Value
RecommendationId
An optional identifier for the recommendation which produced this collection, to be used when submitting recommendation events.
public string? RecommendationId { get; }Property Value
RecommendationId
An optional identifier for the recommendation which produced this collection, to be used when submitting recommendation events.
public string? RecommendationId { get; }