예제 #1
0
        // Token: 0x060014DA RID: 5338 RVA: 0x000607DC File Offset: 0x0005E9DC
        private string vmethod_3815(Type arg_0)
        {
            Class_316 cachedAttribute = Class_470.GetCachedAttribute <Class_316>(arg_0);

            if (cachedAttribute != null && !string.IsNullOrEmpty(cachedAttribute.prop_1))
            {
                return(cachedAttribute.prop_1);
            }
            return(null);
        }
예제 #2
0
        // Token: 0x06000D3F RID: 3391 RVA: 0x00048108 File Offset: 0x00046308
        internal Class_350(Type arg_0) : base(arg_0)
        {
            Class_316 cachedAttribute = Class_470.GetCachedAttribute <Class_316>(arg_0);

            if (cachedAttribute != null)
            {
                if (cachedAttribute.prop_3 != null)
                {
                    this.prop_2 = Class_470.CreateJsonConverterInstance(cachedAttribute.prop_3, cachedAttribute.prop_4);
                }
                this.prop_3 = cachedAttribute.field_1;
                this.prop_4 = cachedAttribute.field_2;
                this.prop_5 = cachedAttribute.field_3;
            }
        }
예제 #3
0
        // Token: 0x060014DB RID: 5339 RVA: 0x00060810 File Offset: 0x0005EA10
        private string dmethod_3816(Type arg_0)
        {
            Class_316 cachedAttribute = Class_470.GetCachedAttribute <Class_316>(arg_0);

            if (cachedAttribute != null && !string.IsNullOrEmpty(cachedAttribute.prop_2))
            {
                return(cachedAttribute.prop_2);
            }
            DescriptionAttribute attribute = Class_514.GetAttribute <DescriptionAttribute>(arg_0);

            if (attribute != null)
            {
                return(attribute.Description);
            }
            return(null);
        }
예제 #4
0
        // Token: 0x060014DC RID: 5340 RVA: 0x00060858 File Offset: 0x0005EA58
        private string kmethod_3817(Type arg_0, bool bool_0)
        {
            Class_316 cachedAttribute = Class_470.GetCachedAttribute <Class_316>(arg_0);

            if (cachedAttribute != null && !string.IsNullOrEmpty(cachedAttribute.prop_0))
            {
                return(cachedAttribute.prop_0);
            }
            if (bool_0)
            {
                return(null);
            }
            switch (this.prop_0)
            {
            case Class_437.UseTypeName:
                return(arg_0.FullName);

            case Class_437.UseAssemblyQualifiedName:
                return(arg_0.AssemblyQualifiedName);

            default:
                return(null);
            }
        }