Example #1
0
            /// <summary>
            /// Initializes a new instance of the Tracker class
            /// </summary>
            /// <param name="context">The context</param>
            /// <param name="assert">The assertion handler to use</param>
            /// <param name="httpTracker">The http tracker to use</param>
            /// <param name="callback">The callback to call on the event args</param>
            /// <param name="model">The test model</param>
            public Tracker(DataServiceContext context, AssertionHandler assert, IDataServiceContextHttpTracker httpTracker, Action <SendingRequest2EventArgs, IDictionary <string, string> > callback, EntityModelSchema model)
            {
                ExceptionUtilities.CheckArgumentNotNull(context, "context");
                ExceptionUtilities.CheckArgumentNotNull(assert, "assert");
                ExceptionUtilities.CheckArgumentNotNull(httpTracker, "httpTracker");

                this.expectedContext = context;
                this.assert          = assert;
                this.httpTracker     = httpTracker;
                this.callback        = callback;
                this.model           = model;
            }
            /// <summary>
            /// Initializes a new instance of the Tracker class
            /// </summary>
            /// <param name="context">The context</param>
            /// <param name="assert">The assertion handler to use</param>
            /// <param name="httpTracker">The http tracker to use</param>
            /// <param name="callback">The callback to call on the event args</param>
            /// <param name="model">The test model</param>
            public Tracker(DataServiceContext context, AssertionHandler assert, IDataServiceContextHttpTracker httpTracker, Action<SendingRequest2EventArgs, IDictionary<string, string>> callback, EntityModelSchema model)
            {
                ExceptionUtilities.CheckArgumentNotNull(context, "context");
                ExceptionUtilities.CheckArgumentNotNull(assert, "assert");
                ExceptionUtilities.CheckArgumentNotNull(httpTracker, "httpTracker");

                this.expectedContext = context;
                this.assert = assert;
                this.httpTracker = httpTracker;
                this.callback = callback;
                this.model = model;
            }