public WebAssetItemCollectionBuilder ( WebAssetType assetType, WebAssetItemCollection assets ) : System | ||
assetType | WebAssetType | Type of the asset. |
assets | WebAssetItemCollection | The assets. |
return | System |
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;
}