Skip to content

Instantly share code, notes, and snippets.

@mariodivece
Created April 1, 2014 04:51

Revisions

  1. mariodivece created this gist Apr 1, 2014.
    27 changes: 27 additions & 0 deletions DimensionalObjectBase.cs
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,27 @@
    namespace Unosquare.Wpf
    {
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Text;
    using System.Threading.Tasks;

    public abstract class DimensionalObjectBase : ViewModelBase
    {

    /// <summary>
    /// Initializes a new instance of the <see cref="DimensionalObjectBase"/> class.
    /// </summary>
    protected DimensionalObjectBase()
    : base()
    {

    }

    /// <summary>
    /// Notifies property changes for all dimensional properties.
    /// For example, this method calls OnPropertyChanged for Start Time, End Time, Duration, Location etc.
    /// </summary>
    public abstract void NotifyDimensionalChange();
    }
    }