C# Class Hypermedia.Sample.WebApi.Resources.PostResourceExtensions

Afficher le fichier Open project: cosullivan/Hypermedia

Méthodes publiques

Méthode Description
PopulateComments ( IReadOnlyList resources, IDatabase database ) : void

Populate the OwnerUser property.

PopulateOwnerUser ( IReadOnlyList resources, IDatabase database ) : void

Populate the OwnerUser property.

Private Methods

Méthode Description
Populate ( this resources, IDatabase database ) : IReadOnlyList

Populate the related resource properties.

Populate ( this resource, IDatabase database ) : PostResource

Populate the related resource properties.

Method Details

PopulateComments() public static méthode

Populate the OwnerUser property.
public static PopulateComments ( IReadOnlyList resources, IDatabase database ) : void
resources IReadOnlyList The list of resources to populate.
database IDatabase The database instance to use when populating.
Résultat void

PopulateOwnerUser() public static méthode

Populate the OwnerUser property.
public static PopulateOwnerUser ( IReadOnlyList resources, IDatabase database ) : void
resources IReadOnlyList The list of resources to populate.
database IDatabase The database instance to use when populating.
Résultat void