Freigeben über


ResourceCollection<TResource,TLinks> Class

Definition

Contains a collection of resources.

[Newtonsoft.Json.JsonObject]
public class ResourceCollection<TResource,TLinks> : Microsoft.Store.PartnerCenter.Models.ResourceBaseWithLinks<TLinks> where TLinks : new()
[<Newtonsoft.Json.JsonObject>]
type ResourceCollection<'Resource, 'Links (requires 'Links : (new : unit -> 'Links))> = class
    inherit ResourceBaseWithLinks<'Links (requires 'Links : (new : unit -> 'Links))>
Public Class ResourceCollection(Of TResource, TLinks)
Inherits ResourceBaseWithLinks(Of TLinks)

Type Parameters

TResource

Type of resources in collection.

TLinks

The type of the resource collection links.

Inheritance
ResourceCollection<TResource,TLinks>
Derived
Attributes

Constructors

ResourceCollection<TResource,TLinks>(ICollection<TResource>)

Initializes a new instance of the ResourceCollection<TResource,TLinks> class.

ResourceCollection<TResource,TLinks>(ResourceCollection<TResource,TLinks>)

Initializes a new instance of the ResourceCollection<TResource,TLinks> class.

Properties

Attributes

Gets the attributes.

(Inherited from ResourceBase)
Items

Gets the collection items.

Links

Gets or sets the resource links.

(Inherited from ResourceBaseWithLinks<TLinks>)
TotalCount

Gets the total count of the elements in the resource collection.

Methods

ToString()

Returns a summary of the resource collection.

Applies to