示例#1
0
        public ThrowIfResourceUnavailableOp DeepCloneWithResourceLocator(ResourceLocatorBase resourceLocator)
        {
            var result = new ThrowIfResourceUnavailableOp(
                resourceLocator);

            return(result);
        }
 /// <summary>
 /// Initializes a new instance of the <see cref="ThrowIfResourceUnavailableOp"/> class.
 /// </summary>
 /// <param name="resourceLocator">The stream.</param>
 public ThrowIfResourceUnavailableOp(
     ResourceLocatorBase resourceLocator)
 {
     this.ResourceLocator = resourceLocator ?? throw new ArgumentNullException(nameof(resourceLocator));
 }