Пример #1
0
 public void SetMainView(RuntimeRealView mainView)
 {
     // This method should be called once only.
     Debug.Assert(ViewMain == null);
     ViewMain = mainView;
     RecordViews.Add(mainView);
 }
Пример #2
0
        /// <summary>
        /// Creates a view for the task's main source.
        /// </summary>
        /// <param name="viewDefinition">The dataview header for the main source.</param>
        /// <returns></returns>
        internal RuntimeRealView CreateMainSourceView(IDataviewHeader viewDefinition)
        {
            RuntimeRealView view = new RuntimeRealView();

            view.CursorBuilder = new MainCursorBuilder(view);
            InitializeView(view, viewDefinition);
            return(view);
        }
Пример #3
0
 /// <summary>
 /// CTOR
 /// </summary>
 /// <param name="view">mainView</param>
 /// <param name="runtimeSorts">sorts collection</param>
 public SortKeyBuilder(RuntimeRealView view, SortCollection runtimeSorts)
 {
     this.mainView     = view;
     this.RuntimeSorts = runtimeSorts;
 }