コード例 #1
0
        // Token: 0x060022C9 RID: 8905 RVA: 0x000C714C File Offset: 0x000C534C
        public static void AddImportance(Infobar infobar, IStorePropertyBag storePropertyBag)
        {
            if (infobar == null)
            {
                throw new ArgumentNullException("infobar");
            }
            string importance = InfobarMessageBuilderBase.GetImportance(storePropertyBag);

            if (importance != null)
            {
                infobar.AddMessage(Utilities.SanitizeHtmlEncode(importance), InfobarMessageType.Informational);
            }
        }
コード例 #2
0
        // Token: 0x0600021F RID: 543 RVA: 0x00013CB4 File Offset: 0x00011EB4
        public static void AddImportance(Infobar infobar, Item item)
        {
            if (infobar == null)
            {
                throw new ArgumentNullException("infobar");
            }
            string importance = InfobarMessageBuilderBase.GetImportance(item);

            if (importance != null)
            {
                infobar.AddMessageText(importance, InfobarMessageType.Informational);
            }
        }