Ejemplo n.º 1
0
        public IResourceBuilder Embedded(string rel)
        {
            var resource = new BuildingResource();

            _resource.AddEmbedded(rel, resource);

            return(new ResourceBuilder(resource));
        }
Ejemplo n.º 2
0
 internal ResourceBuilder(BuildingResource resource)
 {
     _resource = resource ?? throw new ArgumentNullException(nameof(resource));
 }