public WebAssetItemCollectionBuilder(WebAssetType assetType, WebAssetItemCollection assets) { if (assetType == WebAssetType.None) { throw new ArgumentException(TextResource.NoneIsOnlyUsedForInternalPurpose, "assetType"); } Guard.IsNotNull(assets, "assets"); this.assetType = assetType; this.assets = assets; }