At.FF.Krems.FullscreenBrowser.Print.PrintController.Print C# (CSharp) Метод

Print() публичный Метод

Print rescue data.
public Print ( bool onFirstEmergency = false ) : void
onFirstEmergency bool if set to true only print on first emergency.
Результат void
        public void Print(bool onFirstEmergency = false)
        {
            if (!this.config.PrintEnabled)
            {
                return;
            }

            var automaticPrint = false;
            if (onFirstEmergency)
            {
                if (!this.config.PrintOnEmergency)
                {
                    return;
                }

                automaticPrint = true;
            }

            this.queueManager.ExecuteAction(() => this.InternalPrint(automaticPrint));
        }