Beispiel #1
0
        /// <summary>
        /// Applies links to the given resource
        /// </summary>
        /// <param name="resource">Resource</param>
        /// <returns>Awaitable task</returns>
        private async Task ApplyLinksAsync(ILinkResource resource)
        {
            ICollection <LinkDefinition> definitions = this.repository.Get(resource.GetType());

            await generator.ApplyAsync(definitions, resource);
        }