コード例 #1
0
        // Token: 0x060022CD RID: 8909 RVA: 0x000C723C File Offset: 0x000C543C
        public new static InfobarMessage GetFlag(IStorePropertyBag storePropertyBag, UserContext userContext)
        {
            string flag = InfobarMessageBuilderBase.GetFlag(storePropertyBag, userContext);

            if (flag != null)
            {
                return(new InfobarMessage(Utilities.SanitizeHtmlEncode(flag), InfobarMessageType.Informational, "divFlg"));
            }
            return(null);
        }
コード例 #2
0
        // Token: 0x06000221 RID: 545 RVA: 0x00013D14 File Offset: 0x00011F14
        public static void AddFlag(Infobar infobar, Item item, UserContext userContext)
        {
            if (infobar == null)
            {
                throw new ArgumentNullException("infobar");
            }
            string flag = InfobarMessageBuilderBase.GetFlag(item, userContext);

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