1234567891011121314151617181920212223242526272829303132333435 |
- using Shaker.Models;
- using System;
- using System.Collections.Generic;
- using System.Diagnostics.CodeAnalysis;
- using System.Linq;
- using System.Text;
- using System.Threading;
- using System.Threading.Tasks;
- namespace ShakerApp.Models
- {
- public class IndexValueItemModel<T> : BaseModel
- {
- public IndexValueItemModel()
- {
- }
- public IndexValueItemModel(int index ,T value)
- {
- Index = index;
- Value = value;
- }
- public int Index = 0;
- [AllowNull]
- public T Value = default;
- public override object Clone()
- {
- return new IndexValueItemModel<T>()
- {
- Index = Index,
- Value = Value,
- };
- }
- }
- }
|