protected override void Dispose(bool disposing)
        {
            _onGetCell          = null;
            _onRowsInSection    = null;
            _onNumberOfSections = null;

            base.Dispose(disposing);
        }
Esempio n. 2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="GridDataSource"/> class.
 /// </summary>
 /// <param name="onGetCell">The on get cell.</param>
 /// <param name="onRowsInSection">The on rows in section.</param>
 /// <param name="onItemSelected">The on item selected.</param>
 public GridDataSource(OnGetCell onGetCell,
                       OnRowsInSection onRowsInSection,
                       OnItemSelected onItemSelected,
                       OnNumberOfSections onNumberOfSections,
                       OnGetViewForSupplementaryElement onGetViewForSupplementaryElement)
 {
     _onGetCell          = onGetCell;
     _onRowsInSection    = onRowsInSection;
     _onItemSelected     = onItemSelected;
     _onNumberOfSections = onNumberOfSections;
     _onGetViewForSupplementaryElement = onGetViewForSupplementaryElement;
 }
 public FastCollectionDataSource(OnGetCell onGetCell, OnRowsInSection onRowsInSection, OnNumberOfSections onNumberOfSections)
 {
     _onGetCell          = onGetCell;
     _onRowsInSection    = onRowsInSection;
     _onNumberOfSections = onNumberOfSections;
 }
Esempio n. 4
0
 /// <summary>
 /// Initializes a new instance of the <see cref="GridDataSource"/> class.
 /// </summary>
 /// <param name="onGetCell">The on get cell.</param>
 /// <param name="onRowsInSection">The on rows in section.</param>
 /// <param name="onItemSelected">The on item selected.</param>
 public GridDataSource(OnGetCell onGetCell, OnRowsInSection onRowsInSection, OnItemSelected onItemSelected)
 {
     _onGetCell       = onGetCell;
     _onRowsInSection = onRowsInSection;
     _onItemSelected  = onItemSelected;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="GridDataSource"/> class.
 /// </summary>
 /// <param name="onGetCell">The on get cell.</param>
 /// <param name="onRowsInSection">The on rows in section.</param>
 public GridDataSource(OnGetCell onGetCell, OnRowsInSection onRowsInSection)
 {
     this._onGetCell       = onGetCell;
     this._onRowsInSection = onRowsInSection;
 }
		/// <summary>
		/// Initializes a new instance of the <see cref="GridDataSource"/> class.
		/// </summary>
		/// <param name="onGetCell">The on get cell.</param>
		/// <param name="onRowsInSection">The on rows in section.</param>
		/// <param name="onItemSelected">The on item selected.</param>
		public GridDataSource (OnGetCell onGetCell, OnRowsInSection onRowsInSection, OnItemSelected onItemSelected)
		{
			_onGetCell = onGetCell;
			_onRowsInSection = onRowsInSection;
			_onItemSelected = onItemSelected;
		}
Esempio n. 7
0
 public CollectionDataSource(OnRowsInSection onRowsInSection, OnGetCell onGetCell)
 {
     this.onRowsInSection = onRowsInSection;
     this.onGetCell       = onGetCell;
 }
Esempio n. 8
0
 public TableDataSource(OnGetCell onGetCell, OnRowsInSection onRowsInSection)
 {
     this.onGetCell       = onGetCell;
     this.onRowsInSection = onRowsInSection;
 }