Telerik.Web.Mvc.UI.WebAssetItemCollectionBuilder.WebAssetItemCollectionBuilder C# (CSharp) Метод

WebAssetItemCollectionBuilder() публичный Метод

Initializes a new instance of the WebAssetItemCollectionBuilder class.
public WebAssetItemCollectionBuilder ( WebAssetType assetType, WebAssetItemCollection assets ) : System
assetType WebAssetType Type of the asset.
assets WebAssetItemCollection The assets.
Результат 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;
        }