Beispiel #1
0
        void ReleaseInternalObjects()
        {
            _send?.Dispose();
            _send = null;

            _converter?.Dispose();
            _converter = null;
        }
Beispiel #2
0
 void PrepareInternalObjects()
 {
     if (_send == null)
     {
         _send = Interop.Send.Create(_ndiName);
     }
     if (_converter == null)
     {
         _converter = new FormatConverter(_resources);
     }
     if (_onReadback == null)
     {
         _onReadback = OnReadback;
     }
 }