Exemplo n.º 1
0
        public ResourceObjectBuilder(IResourceContextProvider resourceContextProvider, ResourceObjectBuilderSettings settings)
        {
            ArgumentGuard.NotNull(resourceContextProvider, nameof(resourceContextProvider));
            ArgumentGuard.NotNull(settings, nameof(settings));

            ResourceContextProvider = resourceContextProvider;
            _settings = settings;
        }
 public ResourceObjectBuilder(IResourceContextProvider resourceContextProvider, ResourceObjectBuilderSettings settings)
 {
     ResourceContextProvider = resourceContextProvider ?? throw new ArgumentNullException(nameof(resourceContextProvider));
     _settings = settings ?? throw new ArgumentNullException(nameof(settings));
 }