Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
11/12/08 13:10:09 (16 years ago)
Author:
vdorfer
Message:

Created API documentation for HeuristLab.Data namespace (#331)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Data/BoolArrayDataView.cs

    r2 r737  
    2929
    3030namespace HeuristicLab.Data {
     31  /// <summary>
     32  /// The visual representation of the class <see cref="BoolArrayData"/>,
     33  /// symbolizing an array of boolean values.
     34  /// </summary>
    3135  public partial class BoolArrayDataView : ArrayDataBaseView {
     36    /// <summary>
     37    /// Gets or sets the instance of the boolean array to represent visually.
     38    /// </summary>
     39    /// <remarks>Uses property <see cref="ArrayDataBase"/> of
     40    /// base class <see cref="ArrayDataBaseView"/>. No own data storage present.</remarks>
    3241    public BoolArrayData BoolArrayData {
    33       get { return (BoolArrayData)base.Item; }
     42      get { return (BoolArrayData)base.ArrayDataBase; }
    3443      set { base.ArrayDataBase = value; }
    3544    }
    3645
     46    /// <summary>
     47    /// Initializes a new instance of the class <see cref="BoolArrayDataView"/>.
     48    /// </summary>
    3749    public BoolArrayDataView() {
    3850      InitializeComponent();
    3951    }
     52    /// <summary>
     53    /// Initializes a new instance of the class <see cref="BoolArrayDataView"/>
     54    /// with the given <paramref name="boolArrayData"/>.
     55    /// <note type="caution"> No CopyConstructor! <paramref name="boolArrayData"/> is not copied!</note>
     56    /// </summary>
     57    /// <param name="boolArrayData">The boolean array to represent visually.</param>
    4058    public BoolArrayDataView(BoolArrayData boolArrayData)
    4159      : this() {
     
    4361    }
    4462
     63    /// <summary>
     64    /// Sets the element on position <paramref name="index"/> to the
     65    /// given <paramref name="element"/> as boolean value.
     66    /// </summary>
     67    /// <param name="index">The position where to substitute the element.</param>
     68    /// <param name="element">The element to insert.</param>
    4569    protected override void SetArrayElement(int index, string element) {
    4670      bool result;
     
    5074    }
    5175
     76    /// <summary>
     77    /// Checks whether the given <paramref name="element"/> can be converted to a boolean value.
     78    /// </summary>
     79    /// <param name="element">The data to validate.</param>
     80    /// <returns><c>true</c> if the <paramref name="element"/> could be converted,
     81    /// <c>false</c> otherwise.</returns>
    5282    protected override bool ValidateData(string element) {
    5383      bool result;
Note: See TracChangeset for help on using the changeset viewer.