Beispiel #1
0
 public DFileSystemImageImport_SinkHelper(DFileSystemImageImport_EventHandler eventHandler)
 {
     if (eventHandler == null)
     {
         throw new ArgumentNullException("Delegate (callback function) cannot be null");
     }
     this.m_dwCookie       = 0;
     this.m_UpdateDelegate = eventHandler;
 }
Beispiel #2
0
 public DFileSystemImageImport_SinkHelper(DFileSystemImageImport_EventHandler eventHandler)
 {
     if (eventHandler == null)
         throw new ArgumentNullException("eventHandler");
     m_dwCookie = 0;
     m_UpdateDelegate = eventHandler;
 }
 public DFileSystemImageImport_SinkHelper(DFileSystemImageImport_EventHandler eventHandler)
 {
     if (eventHandler == null)
         throw new ArgumentNullException(nameof(eventHandler), "Delegate (callback function) cannot be null");
     m_dwCookie = 0;
     m_UpdateDelegate = eventHandler;
 }