Class AttributeListBase
Implements
System.Collections.Generic.IList<AttributeBase>
System.Collections.Generic.ICollection<AttributeBase>
System.Collections.IList
System.Collections.ICollection
System.Collections.Generic.IReadOnlyList<AttributeBase>
System.Collections.Generic.IReadOnlyCollection<AttributeBase>
System.Collections.Generic.IEnumerable<AttributeBase>
System.Collections.IEnumerable
Inherited Members
System.Collections.Generic.List<ToSic.Razor.Markup.AttributeBase>.System.Collections.IList.get_Item(System.Int32)
System.Collections.Generic.List<ToSic.Razor.Markup.AttributeBase>.System.Collections.IList.set_Item(System.Int32, System.Object)
System.Collections.Generic.List<ToSic.Razor.Markup.AttributeBase>.Add(ToSic.Razor.Markup.AttributeBase)
System.Collections.Generic.List<ToSic.Razor.Markup.AttributeBase>.System.Collections.IList.Add(System.Object)
System.Collections.Generic.List<ToSic.Razor.Markup.AttributeBase>.AddRange(System.Collections.Generic.IEnumerable<ToSic.Razor.Markup.AttributeBase>)
System.Collections.Generic.List<ToSic.Razor.Markup.AttributeBase>.AsReadOnly()
System.Collections.Generic.List<ToSic.Razor.Markup.AttributeBase>.BinarySearch(System.Int32, System.Int32, ToSic.Razor.Markup.AttributeBase, System.Collections.Generic.IComparer<ToSic.Razor.Markup.AttributeBase>)
System.Collections.Generic.List<ToSic.Razor.Markup.AttributeBase>.BinarySearch(ToSic.Razor.Markup.AttributeBase)
System.Collections.Generic.List<ToSic.Razor.Markup.AttributeBase>.BinarySearch(ToSic.Razor.Markup.AttributeBase, System.Collections.Generic.IComparer<ToSic.Razor.Markup.AttributeBase>)
System.Collections.Generic.List<ToSic.Razor.Markup.AttributeBase>.Clear()
System.Collections.Generic.List<ToSic.Razor.Markup.AttributeBase>.Contains(ToSic.Razor.Markup.AttributeBase)
System.Collections.Generic.List<ToSic.Razor.Markup.AttributeBase>.System.Collections.IList.Contains(System.Object)
System.Collections.Generic.List<ToSic.Razor.Markup.AttributeBase>.ConvertAll<TOutput>(System.Converter<ToSic.Razor.Markup.AttributeBase, TOutput>)
System.Collections.Generic.List<ToSic.Razor.Markup.AttributeBase>.CopyTo(ToSic.Razor.Markup.AttributeBase[])
System.Collections.Generic.List<ToSic.Razor.Markup.AttributeBase>.System.Collections.ICollection.CopyTo(System.Array, System.Int32)
System.Collections.Generic.List<ToSic.Razor.Markup.AttributeBase>.CopyTo(System.Int32, ToSic.Razor.Markup.AttributeBase[], System.Int32, System.Int32)
System.Collections.Generic.List<ToSic.Razor.Markup.AttributeBase>.CopyTo(ToSic.Razor.Markup.AttributeBase[], System.Int32)
System.Collections.Generic.List<ToSic.Razor.Markup.AttributeBase>.Exists(System.Predicate<ToSic.Razor.Markup.AttributeBase>)
System.Collections.Generic.List<ToSic.Razor.Markup.AttributeBase>.Find(System.Predicate<ToSic.Razor.Markup.AttributeBase>)
System.Collections.Generic.List<ToSic.Razor.Markup.AttributeBase>.FindAll(System.Predicate<ToSic.Razor.Markup.AttributeBase>)
System.Collections.Generic.List<ToSic.Razor.Markup.AttributeBase>.FindIndex(System.Predicate<ToSic.Razor.Markup.AttributeBase>)
System.Collections.Generic.List<ToSic.Razor.Markup.AttributeBase>.FindIndex(System.Int32, System.Predicate<ToSic.Razor.Markup.AttributeBase>)
System.Collections.Generic.List<ToSic.Razor.Markup.AttributeBase>.FindIndex(System.Int32, System.Int32, System.Predicate<ToSic.Razor.Markup.AttributeBase>)
System.Collections.Generic.List<ToSic.Razor.Markup.AttributeBase>.FindLast(System.Predicate<ToSic.Razor.Markup.AttributeBase>)
System.Collections.Generic.List<ToSic.Razor.Markup.AttributeBase>.FindLastIndex(System.Predicate<ToSic.Razor.Markup.AttributeBase>)
System.Collections.Generic.List<ToSic.Razor.Markup.AttributeBase>.FindLastIndex(System.Int32, System.Predicate<ToSic.Razor.Markup.AttributeBase>)
System.Collections.Generic.List<ToSic.Razor.Markup.AttributeBase>.FindLastIndex(System.Int32, System.Int32, System.Predicate<ToSic.Razor.Markup.AttributeBase>)
System.Collections.Generic.List<ToSic.Razor.Markup.AttributeBase>.ForEach(System.Action<ToSic.Razor.Markup.AttributeBase>)
System.Collections.Generic.List<ToSic.Razor.Markup.AttributeBase>.GetEnumerator()
System.Collections.Generic.List<ToSic.Razor.Markup.AttributeBase>.System.Collections.Generic.IEnumerable<ToSic.Razor.Markup.AttributeBase>.GetEnumerator()
System.Collections.Generic.List<ToSic.Razor.Markup.AttributeBase>.System.Collections.IEnumerable.GetEnumerator()
System.Collections.Generic.List<ToSic.Razor.Markup.AttributeBase>.GetRange(System.Int32, System.Int32)
System.Collections.Generic.List<ToSic.Razor.Markup.AttributeBase>.IndexOf(ToSic.Razor.Markup.AttributeBase)
System.Collections.Generic.List<ToSic.Razor.Markup.AttributeBase>.System.Collections.IList.IndexOf(System.Object)
System.Collections.Generic.List<ToSic.Razor.Markup.AttributeBase>.IndexOf(ToSic.Razor.Markup.AttributeBase, System.Int32)
System.Collections.Generic.List<ToSic.Razor.Markup.AttributeBase>.IndexOf(ToSic.Razor.Markup.AttributeBase, System.Int32, System.Int32)
System.Collections.Generic.List<ToSic.Razor.Markup.AttributeBase>.Insert(System.Int32, ToSic.Razor.Markup.AttributeBase)
System.Collections.Generic.List<ToSic.Razor.Markup.AttributeBase>.System.Collections.IList.Insert(System.Int32, System.Object)
System.Collections.Generic.List<ToSic.Razor.Markup.AttributeBase>.InsertRange(System.Int32, System.Collections.Generic.IEnumerable<ToSic.Razor.Markup.AttributeBase>)
System.Collections.Generic.List<ToSic.Razor.Markup.AttributeBase>.LastIndexOf(ToSic.Razor.Markup.AttributeBase)
System.Collections.Generic.List<ToSic.Razor.Markup.AttributeBase>.LastIndexOf(ToSic.Razor.Markup.AttributeBase, System.Int32)
System.Collections.Generic.List<ToSic.Razor.Markup.AttributeBase>.LastIndexOf(ToSic.Razor.Markup.AttributeBase, System.Int32, System.Int32)
System.Collections.Generic.List<ToSic.Razor.Markup.AttributeBase>.Remove(ToSic.Razor.Markup.AttributeBase)
System.Collections.Generic.List<ToSic.Razor.Markup.AttributeBase>.System.Collections.IList.Remove(System.Object)
System.Collections.Generic.List<ToSic.Razor.Markup.AttributeBase>.RemoveAll(System.Predicate<ToSic.Razor.Markup.AttributeBase>)
System.Collections.Generic.List<ToSic.Razor.Markup.AttributeBase>.RemoveAt(System.Int32)
System.Collections.Generic.List<ToSic.Razor.Markup.AttributeBase>.RemoveRange(System.Int32, System.Int32)
System.Collections.Generic.List<ToSic.Razor.Markup.AttributeBase>.Reverse()
System.Collections.Generic.List<ToSic.Razor.Markup.AttributeBase>.Reverse(System.Int32, System.Int32)
System.Collections.Generic.List<ToSic.Razor.Markup.AttributeBase>.Sort()
System.Collections.Generic.List<ToSic.Razor.Markup.AttributeBase>.Sort(System.Collections.Generic.IComparer<ToSic.Razor.Markup.AttributeBase>)
System.Collections.Generic.List<ToSic.Razor.Markup.AttributeBase>.Sort(System.Int32, System.Int32, System.Collections.Generic.IComparer<ToSic.Razor.Markup.AttributeBase>)
System.Collections.Generic.List<ToSic.Razor.Markup.AttributeBase>.Sort(System.Comparison<ToSic.Razor.Markup.AttributeBase>)
System.Collections.Generic.List<ToSic.Razor.Markup.AttributeBase>.ToArray()
System.Collections.Generic.List<ToSic.Razor.Markup.AttributeBase>.TrimExcess()
System.Collections.Generic.List<ToSic.Razor.Markup.AttributeBase>.TrueForAll(System.Predicate<ToSic.Razor.Markup.AttributeBase>)
System.Collections.Generic.List<ToSic.Razor.Markup.AttributeBase>.Capacity
System.Collections.Generic.List<ToSic.Razor.Markup.AttributeBase>.Count
System.Collections.Generic.List<ToSic.Razor.Markup.AttributeBase>.System.Collections.IList.IsFixedSize
System.Collections.Generic.List<ToSic.Razor.Markup.AttributeBase>.System.Collections.Generic.ICollection<ToSic.Razor.Markup.AttributeBase>.IsReadOnly
System.Collections.Generic.List<ToSic.Razor.Markup.AttributeBase>.System.Collections.IList.IsReadOnly
System.Collections.Generic.List<ToSic.Razor.Markup.AttributeBase>.System.Collections.ICollection.IsSynchronized
System.Collections.Generic.List<ToSic.Razor.Markup.AttributeBase>.System.Collections.ICollection.SyncRoot
System.Collections.Generic.List<ToSic.Razor.Markup.AttributeBase>.Item[System.Int32]
System.Collections.Generic.List<ToSic.Razor.Markup.AttributeBase>.System.Collections.IList.Item[System.Int32]
Namespace: ToSic.Razor.Markup
Assembly: ToSic.Razor.dll
Syntax
public class AttributeListBase : List<AttributeBase>, IList<AttributeBase>, ICollection<AttributeBase>, IList, ICollection, IReadOnlyList<AttributeBase>, IReadOnlyCollection<AttributeBase>, IEnumerable<AttributeBase>, IEnumerable
Constructors
| Improve this Doc View SourceAttributeListBase(IEnumerable<KeyValuePair<String, Object>>, AttributeOptions)
Declaration
public AttributeListBase(IEnumerable<KeyValuePair<string, object>> attributes, AttributeOptions options = null)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<System.String, System.Object>> | attributes | |
AttributeOptions | options |
AttributeListBase(IEnumerable<KeyValuePair<String, String>>, AttributeOptions)
Declaration
public AttributeListBase(IEnumerable<KeyValuePair<string, string>> attributes, AttributeOptions options = null)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<System.String, System.String>> | attributes | |
AttributeOptions | options |
AttributeListBase(AttributeListBase)
Declaration
public AttributeListBase(AttributeListBase original)
Parameters
Type | Name | Description |
---|---|---|
AttributeListBase | original |
AttributeListBase(AttributeOptions)
Declaration
public AttributeListBase(AttributeOptions options = null)
Parameters
Type | Name | Description |
---|---|---|
AttributeOptions | options |
Fields
| Improve this Doc View SourceOptions
Serialization options to use for all attributes, unless an attribute has own options
Declaration
public AttributeOptions Options
Field Value
Type | Description |
---|---|
AttributeOptions |
Methods
| Improve this Doc View SourceAdd(String, Object, String)
Declaration
public void Add(string name, object value = null, string appendSeparator = null)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | |
System.Object | value | |
System.String | appendSeparator |
AddUrl(String, Object, String)
Declaration
public void AddUrl(string name, object value = null, string appendSeparator = null)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | |
System.Object | value | |
System.String | appendSeparator |
ToString()
Gets the HTML safe string
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String |
Overrides
System.Object.ToString()
Implements
System.Collections.Generic.IList<T>
System.Collections.Generic.ICollection<T>
System.Collections.IList
System.Collections.ICollection
System.Collections.Generic.IReadOnlyList<T>
System.Collections.Generic.IReadOnlyCollection<T>
System.Collections.Generic.IEnumerable<T>
System.Collections.IEnumerable