• Introduction
  • API Documentation
  • Sample Apps
  • GitHub

    Show / Hide Table of Contents
    • DynamicVML
      • AddNewDynamicItem
      • DynamicList<TViewModel, TOptions>
      • DynamicList<TViewModel>
      • DynamicListItem<TViewModel>
      • IDynamicList
      • IDynamicList<TValue>
      • IDynamicListItem
      • IDynamicListItem<TViewModel>
      • ListRenderMode
      • NewItemMethod
    • DynamicVML.Extensions
      • ControllerExtensions
      • EditorExtensions
      • EnumerableExtensions
      • ViewDataExtensions
    • DynamicVML.Internals
      • Constants
      • ItemDisplayParameters
      • ItemEditorParameters
      • ItemParameters
      • ListDisplayParameters
      • ListEditorParameters
      • ListParameters
      • Parameters
    • DynamicVML.Options
      • DynamicListAttribute
      • DynamicListDisplayOptions
      • DynamicListEditorOptions
      • DynamicListOptions

    Interface IDynamicList<TValue>

    Represents a list whose items are tracked by a string key associated with the id of div elements in an HTML form, and whose items can be succesfully binded to object properties by ASP.NET's default IModelBinder.

    Inherited Members
    IDynamicList.Count
    IDynamicList.ContainerId
    IDynamicList.Index
    IDynamicList.Keys
    Namespace: DynamicVML
    Assembly: DynamicVML.dll
    Syntax
    public interface IDynamicList<out TValue> : IDynamicList where TValue : IDynamicListItem
    Type Parameters
    Name Description
    TValue
    Remarks

    This is the generic version of IDynamicList which can be used whenever list item types need to be known.

    Properties

    | Improve this Doc View Source

    Item[String]

    Gets the with the specified identifier.

    Declaration
    TValue this[string id] { get; }
    Parameters
    Type Name Description
    String id
    Property Value
    Type Description
    TValue
    Remarks

    This is an explicit interface implementation which is only available when interacting with this list through the IDynamicList<TValue> interface. Normally, this should only be the case when accessing the list from a view.

    Extension Methods

    EnumerableExtensions.ToDynamicList<TViewModel, TOptions>(TViewModel, String, TOptions)
    EnumerableExtensions.ToDynamicList<TViewModel>(TViewModel, String)
    EnumerableExtensions.ToDynamicList<TViewModel, TOptions>(TViewModel, String, Func<TViewModel, TOptions>)
    EnumerableExtensions.ToDynamicList<TViewModel, TOptions, TModel>(TModel, String, Func<TModel, TViewModel>, Func<TModel, TOptions>)
    EnumerableExtensions.ToDynamicList<TViewModel, TModel>(TModel, String, Func<TModel, TViewModel>)
    EnumerableExtensions.ToDynamicList<TViewModel, TOptions, TModel>(TModel, String, Func<TModel, TOptions>)

    See Also

    IDynamicListItem
    • Improve this Doc
    • View Source
    Back to top Copyright © 2020 César Roberto de Souza - All files are available under the MIT license except the logo, which comes from FontAwesome.