Exemplo n.º 1
0
 protected SharingObject(Context context, Stream stream, NotifyPropertySharingViewer sharingViewer)
 {
     this.CancellationToken = this.cancellation.Token;
     this.viewer            = sharingViewer ?? throw new ArgumentNullException(nameof(sharingViewer));
     this.Settings          = context.Settings;
     this.Generator         = context.Generator;
     this.dispatcher        = context.Dispatcher;
     this.Stream            = stream ?? throw new ArgumentNullException(nameof(stream));
 }
Exemplo n.º 2
0
 protected FileObject(Context context, Stream stream, NotifyPropertySharingViewer viewer) : base(context, stream, viewer)
 {
 }