Files
DP44/Common/DTS.Common.Serialization/.svn/pristine/71/718f89c5554a59dd822a2287a6cb53dcf50d81c7.svn-base

75 lines
2.6 KiB
Plaintext
Raw Normal View History

2026-04-17 14:55:32 -04:00
/*
* DTS.Slice.Control.Event.Module.ReviewableAttribute.cs
*
* Copyright © 2009
* Diversified Technical Systems, Inc.
* All Rights Reserved
*/
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace DTS.Slice.Control
{
// *** see DTS.Slice.Control.Event.cs ***
public partial class Event
{
// *** see DTS.Slice.Control.Event.Module.cs ***
public partial class Module
{
/// <summary>
/// A reviewable attribute attached to a specific channel.
/// </summary>
abstract public partial class ReviewableAttribute
: Slice.Control.ReviewableAttribute
{
/// <summary>
/// The concrete class should implement this constructor.
/// </summary>
///
/// <param name="channel">
/// The <see cref="DTS.Slice.Control.Event.Module"/> to which a specific instance
/// of this reviewable attribute class is attached. It should be used by this class' subclass'
/// DetermineAttributeValueString method.
/// </param>
///
public ReviewableAttribute(Event.Module channel)
: this(null, null)
{
try
{
throw new NotImplementedException("cannot initialize " + this.GetType().FullName + " with this constructor; must call parameterized version");
}
catch (System.Exception ex)
{
throw new Module.ReviewableAttribute.Exception("encountered problem constructing " + this.GetType().FullName, ex);
}
}
/// <summary>
/// Initialize an instance of this class.
/// </summary>
///
/// <param name="name">
/// The <see cref="string"/> name of the attribute represented by this class.
/// </param>
///
/// <param name="calculateValue">
/// The <see cref="DTS.Slice.Control.ReviewableAttribute.DetermineValueString"/>
/// </param>
///
protected ReviewableAttribute(string name, DetermineValueString calculateValue)
: base(name, calculateValue)
{
}
}
} // *** end Module ***
} // *** end Event ***
}