mirror of https://github.com/ogoun/Zero.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
605 B
25 lines
605 B
using System;
|
|
using System.Runtime.Serialization;
|
|
|
|
namespace ZeroLevel.Specification
|
|
{
|
|
[Serializable]
|
|
[DataContract]
|
|
public abstract class BaseNamedSpecification<T> : BaseSpecification<T>
|
|
{
|
|
[DataMember]
|
|
private string _name;
|
|
[DataMember]
|
|
private string _description;
|
|
|
|
public string Name { get { return _name; } }
|
|
public string Description { get { return _description; } }
|
|
|
|
public BaseNamedSpecification(string name, string description)
|
|
{
|
|
_name = name;
|
|
_description = description;
|
|
}
|
|
}
|
|
}
|