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

Datei anzeigen Open project: cosullivan/Hypermedia

Public Methods

Method Description
PopulateComments ( IReadOnlyList resources, IDatabase database ) : void

Populate the OwnerUser property.

PopulateOwnerUser ( IReadOnlyList resources, IDatabase database ) : void

Populate the OwnerUser property.

Private Methods

Method 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 method

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.
return void

PopulateOwnerUser() public static method

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.
return void