예제 #1
0
        public IResourceBuilder Embedded(string rel)
        {
            var resource = new BuildingResource();

            _resource.AddEmbedded(rel, resource);

            return(new ResourceBuilder(resource));
        }
예제 #2
0
 internal ResourceBuilder(BuildingResource resource)
 {
     _resource = resource ?? throw new ArgumentNullException(nameof(resource));
 }