public HateoasCollectionBuilder(IHateoasLinksBuilderFactory collection, IHateoasLinksBuilderFactory resources, IHateoasResourceBuilderFactory resourceBuilderFactory) { ResourceBuilderFactory = resourceBuilderFactory; Collection = collection.Create(); Resources = resources.Create <TResource, TEntity>(); }
public HateoasResourceBuilder(IHateoasLinksBuilderFactory factory) { Links = factory.Create <TResource, TEntity>(); }