mirror of
https://github.com/MichaelGrafnetter/DSInternals
synced 2025-02-05 05:31:29 +00:00
23 lines
611 B
C#
23 lines
611 B
C#
using System.Collections.Generic;
|
|
namespace DSInternals.Replication.Model
|
|
{
|
|
public class ReplicaAttributeCollection : Dictionary<int, ReplicaAttribute>
|
|
{
|
|
// TODO: Move parent as member.
|
|
public ReplicaAttributeCollection() : base()
|
|
{
|
|
}
|
|
public ReplicaAttributeCollection(int numAttributes)
|
|
: base(numAttributes)
|
|
{
|
|
}
|
|
|
|
public void Add(ReplicaAttribute attribute)
|
|
{
|
|
// TODO: Validate not null
|
|
// TODO: Validate if not in collection
|
|
this.Add(attribute.Id, attribute);
|
|
}
|
|
}
|
|
}
|