Exemplo n.º 1
0
        public void PopAndProcess()
        {
            var request = requestStack.Pop();

            if (File.Exists(request.FilePathAndName))
            {
                SendFile?.Invoke(this, request);
            }

            else
            {
                FileNotFound?.Invoke(this, request);
            }
        }
Exemplo n.º 2
0
 private void OnSendFile(SendFileEventArgs eventArgs)
 {
     SendFile?.Invoke(this, eventArgs);
 }