-
Notifications
You must be signed in to change notification settings - Fork 2
/
ItemParameters.cs
36 lines (32 loc) · 1.06 KB
/
ItemParameters.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
// Dynamic View Model (lists)
// Copyright (c) 2020 César Roberto de Souza. Licensed under the MIT license
// cesarsouza@gmail.com - http://crsouza.com
using System;
namespace DynamicVML.Internals
{
/// <summary>
/// Base class for <see cref="ItemDisplayParameters"/> and <see cref="ItemEditorParameters"/>.
/// </summary>
///
[Serializable]
public abstract class ItemParameters : Parameters
{
/// <summary>
/// Gets the HTML div ID associted with this list item.
/// </summary>
///
public string Index { get; }
/// <summary>
/// Creates a new instance of the <see cref="Parameters"/> class.
/// </summary>
///
/// <param name="containerId">The HTML div element ID for the current list.</param>
/// <param name="itemId">The HTML div element ID for the current list item.</param>
///
public ItemParameters(string containerId, string itemId)
: base(containerId)
{
this.Index = itemId;
}
}
}