Esempio n. 1
0
        // Token: 0x060022CA RID: 8906 RVA: 0x000C7180 File Offset: 0x000C5380
        public static void AddSensitivity(Infobar infobar, IStorePropertyBag storePropertyBag)
        {
            if (infobar == null)
            {
                throw new ArgumentNullException("infobar");
            }
            string sensitivity = InfobarMessageBuilderBase.GetSensitivity(storePropertyBag);

            if (sensitivity != null)
            {
                infobar.AddMessage(Utilities.SanitizeHtmlEncode(sensitivity), InfobarMessageType.Informational);
            }
        }
Esempio n. 2
0
        // Token: 0x06000220 RID: 544 RVA: 0x00013CE4 File Offset: 0x00011EE4
        public static void AddSensitivity(Infobar infobar, Item item)
        {
            if (infobar == null)
            {
                throw new ArgumentNullException("infobar");
            }
            string sensitivity = InfobarMessageBuilderBase.GetSensitivity(item);

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