Esempio n. 1
0
 /// <summary>
 /// Copies the wrapped view.
 /// </summary>
 /// <returns>Copy of wrapped view.</returns>
 public ExecutionView CopyView()
 {
     return(_data.Clone());
 }
Esempio n. 2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="EditView"/> class.
 /// </summary>
 /// <param name="data">The wrapped view.</param>
 /// <param name="copy">if set to <c>true</c> clone the view.</param>
 private EditView(ExecutionView data, bool copy)
 {
     _data = copy ? data.Clone() : data;
 }