示例#1
0
 /// <summary>
 /// Creates a mocked server. This helps to mock all or some backend calls, e.g. for OData/JSON Models or simple XHR calls, without changing the application code. This class can also be used for qunit tests.
 /// </summary>
 /// <param name="mSettings">optional map/JSON-object with initial property values, aggregated objects etc. for the new object</param>
 /// <param name="oScope">scope object for resolving string based type and formatter references in bindings</param>
 public extern MockServer(sap.ui.app.MockServer.Settings mSettings, object oScope);
示例#2
0
 /// <summary>
 /// Creates a mocked server. This helps to mock all or some backend calls, e.g. for OData/JSON Models or simple XHR calls, without changing the application code. This class can also be used for qunit tests.
 /// </summary>
 /// <param name="mSettings">optional map/JSON-object with initial property values, aggregated objects etc. for the new object</param>
 public extern MockServer(sap.ui.app.MockServer.Settings mSettings);