示例#1
0
 public PreviewChangesEngine(Func <bool> applyChangesDelegate, PreviewData previewData, IServiceProvider serviceProvider)
 {
     // Cache the PreviewData from the operation.
     _applyChangesDelegate = applyChangesDelegate;
     _previewData          = previewData;
     _previewBuffer        = new PreviewBuffer(serviceProvider);
 }
 public PreviewChangesEngine(Func<bool> applyChangesDelegate, PreviewData previewData, IServiceProvider serviceProvider)
 {
     // Cache the PreviewData from the operation.
     _applyChangesDelegate = applyChangesDelegate;
     _previewData = previewData;
     _previewBuffer = new PreviewBuffer(serviceProvider);
 }
示例#3
0
 public PreviewChangesList(IList <PreviewChangesNode> changeList, PreviewData previewData, PreviewBuffer previewBuffer)
 {
     _changeList = changeList;
     if (_changeList == null)
     {
         _changeList = new List <PreviewChangesNode>();
     }
     _previewData   = previewData;
     _previewBuffer = previewBuffer;
 }
 public PreviewChangesList(IList<PreviewChangesNode> changeList, PreviewData previewData, PreviewBuffer previewBuffer)
 {
     _changeList = changeList;
     if (_changeList == null)
     {
         _changeList = new List<PreviewChangesNode>();
     }
     _previewData = previewData;
     _previewBuffer = previewBuffer;
 }