コード例 #1
0
        // Token: 0x06000E85 RID: 3717 RVA: 0x00045C58 File Offset: 0x00043E58
        private static MultiValuedProperty <int?> ConvertIntArrayToMvpNullableInt(object obj)
        {
            if (obj == null)
            {
                return(null);
            }
            ADMultiValuedProperty <int?> admultiValuedProperty = new ADMultiValuedProperty <int?>();

            if (obj is int)
            {
                admultiValuedProperty.Add(new int?((int)obj));
            }
            else if (obj is int[])
            {
                int[] array = (int[])obj;
                foreach (int value in array)
                {
                    admultiValuedProperty.Add(new int?(value));
                }
            }
            return(admultiValuedProperty);
        }