using System;
namespace System.ComponentModel
{
/// Provides a description of the sort operation applied to a data source.
// Token: 0x020000A7 RID: 167
public class ListSortDescription
{
/// Initializes a new instance of the class with the specified property description and direction.
/// The that describes the property by which the data source is sorted.
/// One of the values.
// Token: 0x06000560 RID: 1376 RVA: 0x0000E328 File Offset: 0x0000C528
public ListSortDescription(PropertyDescriptor propertyDescriptor, ListSortDirection sortDirection)
{
this.propertyDescriptor = propertyDescriptor;
this.sortDirection = sortDirection;
}
/// Gets or sets the abstract description of a class property associated with this
/// The associated with this .
// Token: 0x17000165 RID: 357
// (get) Token: 0x06000561 RID: 1377 RVA: 0x0000E340 File Offset: 0x0000C540
// (set) Token: 0x06000562 RID: 1378 RVA: 0x0000E348 File Offset: 0x0000C548
public PropertyDescriptor PropertyDescriptor
{
get
{
return this.propertyDescriptor;
}
set
{
this.propertyDescriptor = value;
}
}
/// Gets or sets the direction of the sort operation associated with this .
/// One of the values.
// Token: 0x17000166 RID: 358
// (get) Token: 0x06000563 RID: 1379 RVA: 0x0000E354 File Offset: 0x0000C554
// (set) Token: 0x06000564 RID: 1380 RVA: 0x0000E35C File Offset: 0x0000C55C
public ListSortDirection SortDirection
{
get
{
return this.sortDirection;
}
set
{
this.sortDirection = value;
}
}
// Token: 0x0400019B RID: 411
private PropertyDescriptor propertyDescriptor;
// Token: 0x0400019C RID: 412
private ListSortDirection sortDirection;
}
}