コード例 #1
0
 protected override void OnInit()
 {
     OperationCallbackFactory = new OperationCallbackFactoryMock();
     ServiceProvider.OperationCallbackFactory = OperationCallbackFactory;
     Serializer = new Serializer(new[]
     {
         GetType().GetAssembly(), typeof(ApplicationSettings).GetAssembly(),
         typeof(SerializableOperationCallbackFactory).GetAssembly()
     });
     base.OnInit();
 }
コード例 #2
0
 protected override void OnInit()
 {
     OperationCallbackFactory = new OperationCallbackFactoryMock();
     ServiceProvider.OperationCallbackFactory = OperationCallbackFactory;
     Serializer = new Serializer(new[]
         {
             GetType().GetAssembly(), typeof (ApplicationSettings).GetAssembly(),
             typeof (SerializableOperationCallbackFactory).GetAssembly()
         });
     base.OnInit();
 }