WebAssetCollection - класс |
Пространство имён: Telerik.Web.Mvc
public class WebAssetCollection : Collection<IWebAsset>
Тип WebAssetCollection предоставляет следующие члены.
| Имя | Описание | |
|---|---|---|
| WebAssetCollection |
Initializes a new instance of the WebAssetCollection class.
|
| Имя | Описание | |
|---|---|---|
| AssetGroups |
Gets the asset groups.
| |
| AssetItems |
Gets the asset items.
| |
| Count | Gets the number of elements actually contained in the Collection. (Унаследован от CollectionIWebAsset.) | |
| DefaultPath |
Gets or sets the default path.
| |
| Item | Gets or sets the element at the specified index. (Унаследован от CollectionIWebAsset.) | |
| Items | Gets a IList wrapper around the Collection. (Унаследован от CollectionIWebAsset.) |
| Имя | Описание | |
|---|---|---|
| Add(String) |
Adds the specified source as WebAsset.
| |
| Add(UTP) | Adds an object to the end of the Collection. (Унаследован от CollectionIWebAsset.) | |
| Add(String, String) |
Adds the specified source as WebAsset in the specified WebAssetGroup.
| |
| Clear | Removes all elements from the Collection. (Унаследован от CollectionIWebAsset.) | |
| ClearItems | Removes all elements from the Collection. (Унаследован от CollectionIWebAsset.) | |
| Contains | Determines whether an element is in the Collection. (Унаследован от CollectionIWebAsset.) | |
| CopyTo | Copies the entire Collection to a compatible one-dimensional Array, starting at the specified index of the target array. (Унаследован от CollectionIWebAsset.) | |
| FindGroupByName |
Finds the group with the specified name.
| |
| FindItemBySource |
Finds the item with the specified source.
| |
| GetEnumerator | Returns an enumerator that iterates through the Collection. (Унаследован от CollectionIWebAsset.) | |
| IndexOf | Searches for the specified object and returns the zero-based index of the first occurrence within the entire Collection. (Унаследован от CollectionIWebAsset.) | |
| Insert(Int32, UTP) | Inserts an element into the Collection at the specified index. (Унаследован от CollectionIWebAsset.) | |
| Insert(Int32, String) |
Inserts the specified source as WebAsset at the specified index.
| |
| Insert(Int32, String, String) |
Inserts the specified source as WebAsset at the specified index in the specified WebAssetGroup.
| |
| InsertItem |
Inserts an element into the Collection at the specified index.
(Переопределяет Collection.InsertItem(Int32, UTP).) | |
| Remove | Removes the first occurrence of a specific object from the Collection. (Унаследован от CollectionIWebAsset.) | |
| RemoveAt | Removes the element at the specified index of the Collection. (Унаследован от CollectionIWebAsset.) | |
| RemoveItem | Removes the element at the specified index of the Collection. (Унаследован от CollectionIWebAsset.) | |
| SetItem |
Replaces the element at the specified index.
(Переопределяет Collection.SetItem(Int32, UTP).) |
| Имя | Описание | |
|---|---|---|
| GetID |
Получить идентификатор из объекта.
Вызывает ToString().ToLower()
(Определяется ObjectExtensions.) | |
| Implementation |
Получить реальный объект из класса
(Определяется ModelExtensions.) | |
| SafeToString | (Определяется ObjectExtensions.) | |
| ToEncodedJson |
Получить представление объекта в структуре Json, зашифрованную для атрибута
(Определяется ObjectExtensions.) | |
| ToJson |
Получить представление объекта в структуре Json
(Определяется ObjectExtensions.) | |
| ToJsonSlice |
Получить представление объекта в структуре Json.
Обрезает стартовый и конечный символы { и }
(Определяется ObjectExtensions.) |