/* * 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 { /// /// A reviewable attribute attached to a specific channel. /// abstract public partial class ReviewableAttribute : Slice.Control.ReviewableAttribute { /// /// The concrete class should implement this constructor. /// /// /// /// The to which a specific instance /// of this reviewable attribute class is attached. It should be used by this class' subclass' /// DetermineAttributeValueString method. /// /// 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); } } /// /// Initialize an instance of this class. /// /// /// /// The name of the attribute represented by this class. /// /// /// /// The /// /// protected ReviewableAttribute(string name, DetermineValueString calculateValue) : base(name, calculateValue) { } } } // *** end Module *** } // *** end Event *** }