コード例 #1
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();
        }
コード例 #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();
        }
コード例 #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();
        }
コード例 #4
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();
        }
コード例 #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();
        }
コード例 #6
0
        /// <summary>
        /// Initializes a new instance of the <see cref="Parameter"/> class.
        /// </summary>
        public Parameter()
        {
            this._notifier = new PropertyChangedNotifier(this);

            ((IRestorable)this).StoreOriginalValue();
        }
コード例 #7
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();
        }
コード例 #8
0
        /// <summary>
        /// Initializes a new instance of the <see cref="Parameter"/> class.
        /// </summary>
        public Parameter() 
        {
            this._notifier = new PropertyChangedNotifier(this);

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