Ext.Net.Notification.ToScript C# (CSharp) Method

ToScript() private method

private ToScript ( ) : string
return string
        public override string ToScript()
        {
            if (this.currentConfig != null && this.currentConfig.Icon != Icon.None)
            {
                if (ResourceManager.HasResourceManager)
                {
                    ResourceManager.GetInstance().RegisterIcon(this.currentConfig.Icon);
                }
            }

            return this.currentConfig != null ? this.InstanceOf.ConcatWith(".show(", TokenUtils.ParseTokens(this.currentConfig.ToScript(), this.Page), ");") : "";
        }