/// <summary>
        /// Initializes a new instance of the <see cref="GroupDescriptor"/> class.
        /// </summary>
        /// <param name="propertyPath">The group property path</param>
        public GroupDescriptor(string propertyPath)
        {
            this._notifier = new PropertyChangedNotifier(this);

            this.PropertyPath = propertyPath;

            ((IRestorable)this).StoreOriginalValue();
        }
Esempio n. 2
0
        /// <summary>
        /// Initializes a new instance of the <see cref="GroupDescriptor"/> class.
        /// </summary>
        /// <param name="propertyPath">The group property path</param>
        public GroupDescriptor(string propertyPath)
        {
            this._notifier = new PropertyChangedNotifier(this);

            this.PropertyPath = propertyPath;

            ((IRestorable)this).StoreOriginalValue();
        }
Esempio n. 3
0
        /// <summary>
        /// Initializes a new instance of the <see cref="SortDescriptor"/> class.
        /// </summary>
        /// <param name="propertyPath">The sort property path</param>
        /// <param name="direction">The sort direction</param>
        public SortDescriptor(string propertyPath, ListSortDirection direction)
        {
            this._notifier = new PropertyChangedNotifier(this);

            this.PropertyPath = propertyPath;
            this.Direction    = direction;

            ((IRestorable)this).StoreOriginalValue();
        }
        /// <summary>
        /// Initializes a new instance of the <see cref="SortDescriptor"/> class.
        /// </summary>
        /// <param name="propertyPath">The sort property path</param>
        /// <param name="direction">The sort direction</param>
        public SortDescriptor(string propertyPath, ListSortDirection direction)
        {
            this._notifier = new PropertyChangedNotifier(this);

            this.PropertyPath = propertyPath;
            this.Direction = direction;

            ((IRestorable)this).StoreOriginalValue();
        }
Esempio n. 5
0
        /// <summary>
        /// Initializes a new instance of the <see cref="FilterDescriptor"/> class using
        /// the specified parameters.
        /// </summary>
        /// <param name="propertyPath">The filter property path</param>
        /// <param name="filterOperator">The filter operator</param>
        /// <param name="filterValue">The filter value</param>
        public FilterDescriptor(string propertyPath, FilterOperator filterOperator, object filterValue)
        {
            this._notifier = new PropertyChangedNotifier(this);

            this.PropertyPath = propertyPath;
            this.Operator     = filterOperator;
            this.Value        = filterValue;

            ((IRestorable)this).StoreOriginalValue();
        }
Esempio n. 6
0
        /// <summary>
        /// Initializes a new instance of the <see cref="Parameter"/> class.
        /// </summary>
        public Parameter()
        {
            this._notifier = new PropertyChangedNotifier(this);

            ((IRestorable)this).StoreOriginalValue();
        }
        /// <summary>
        /// Initializes a new instance of the <see cref="FilterDescriptor"/> class using
        /// the specified parameters.
        /// </summary>
        /// <param name="propertyPath">The filter property path</param>
        /// <param name="filterOperator">The filter operator</param>
        /// <param name="filterValue">The filter value</param>
        public FilterDescriptor(string propertyPath, FilterOperator filterOperator, object filterValue)
        {
            this._notifier = new PropertyChangedNotifier(this);

            this.PropertyPath = propertyPath;
            this.Operator = filterOperator;
            this.Value = filterValue;

            ((IRestorable)this).StoreOriginalValue();
        }
        /// <summary>
        /// Initializes a new instance of the <see cref="Parameter"/> class.
        /// </summary>
        public Parameter() 
        {
            this._notifier = new PropertyChangedNotifier(this);

            ((IRestorable)this).StoreOriginalValue();
        }