internal DocumentProperty(Interface37 A_0, bool A_1)
        {
            int num = 10;

            if (A_0 == null)
            {
                throw new ArgumentNullException(BookmarkStart.b("䘯匱䘳張夷吹䠻", num));
            }
            this.string_1 = A_0.imethod_2();
            if (this.string_1 == null)
            {
                if (A_1)
                {
                    this.builtInProperty_0 = (BuiltInProperty)A_0.imethod_3();
                }
                else
                {
                    this.builtInProperty_0 = (BuiltInProperty)((A_0.imethod_3() + 0x3e8) - 2);
                }
            }
            if ((A_1 && (this.builtInProperty_0 == BuiltInProperty.EditTime)) && (A_0.imethod_0() is System.DateTime))
            {
                System.DateTime time = (System.DateTime)A_0.imethod_0();
                this.object_0 = System.TimeSpan.FromTicks(time.Ticks - 0x701ce1722770000L);
            }
            else
            {
                this.object_0 = A_0.imethod_0();
            }
            this.propertyType_0 = (Spire.CompoundFile.Doc.PropertyType)A_0.imethod_1();
        }
        public DocumentProperty(string strName, object value, Spire.CompoundFile.Doc.PropertyType type)
        {
            int num = 5;

            if (strName == null)
            {
                throw new ArgumentNullException(BookmarkStart.b("堪夬崮缰刲場制", num));
            }
            if (strName.Length == 0)
            {
                throw new ArgumentException(BookmarkStart.b("堪夬崮缰刲場制ᤸᘺᴼ䰾㕀ㅂⱄ⥆⹈歊⹌⹎㽐㵒㩔⍖祘㥚㡜罞Ѡ๢ᕤ፦ၨ䕪", num));
            }
            this.string_1       = strName;
            this.object_0       = value;
            this.propertyType_0 = type;
        }
        public DocumentProperty(string strName, object value)
        {
            int num = 0;

            if (strName == null)
            {
                throw new ArgumentNullException(BookmarkStart.b("唥尧堩戫伭崯圱", num));
            }
            if (strName.Length == 0)
            {
                throw new ArgumentException(BookmarkStart.b("唥尧堩戫伭崯圱ᐳᬵᠷ䤹䠻䰽⤿ⱁ⍃晅⭇⭉≋⁍㽏♑瑓㑕㵗穙㥛㍝ၟᙡᵣ䡥", num));
            }
            this.string_1       = strName;
            this.Value          = value;
            this.propertyType_0 = smethod_0(value);
        }
 internal static Spire.CompoundFile.Doc.PropertyType smethod_0(object A_0)
 {
     Spire.CompoundFile.Doc.PropertyType @null = Spire.CompoundFile.Doc.PropertyType.Null;
     if (A_0 is string)
     {
         return((Encoding.UTF8.GetByteCount(A_0 as string) == (A_0 as string).Length) ? Spire.CompoundFile.Doc.PropertyType.AsciiString : Spire.CompoundFile.Doc.PropertyType.String);
     }
     if (A_0 is double)
     {
         return(Spire.CompoundFile.Doc.PropertyType.Double);
     }
     if (A_0 is int)
     {
         return(Spire.CompoundFile.Doc.PropertyType.Int32);
     }
     if (A_0 is bool)
     {
         return(Spire.CompoundFile.Doc.PropertyType.Bool);
     }
     if ((A_0 is System.DateTime) || (A_0 is System.TimeSpan))
     {
         return(Spire.CompoundFile.Doc.PropertyType.DateTime);
     }
     if (A_0 is object[])
     {
         return(Spire.CompoundFile.Doc.PropertyType.ObjectArray);
     }
     if (A_0 is string[])
     {
         return(Spire.CompoundFile.Doc.PropertyType.StringArray);
     }
     if (A_0 is byte[])
     {
         return(Spire.CompoundFile.Doc.PropertyType.Blob);
     }
     if (A_0 is Spire.CompoundFile.Doc.ClipboardData)
     {
         @null = Spire.CompoundFile.Doc.PropertyType.ClipboardData;
     }
     return(@null);
 }
 private void method_4()
 {
     if (this.object_0 is string)
     {
         this.propertyType_0 = this.method_0((string)this.object_0);
     }
     else if (this.object_0 is double)
     {
         this.propertyType_0 = Spire.CompoundFile.Doc.PropertyType.Double;
     }
     else if (this.object_0 is int)
     {
         this.propertyType_0 = Spire.CompoundFile.Doc.PropertyType.Int32;
     }
     else if (this.object_0 is bool)
     {
         this.propertyType_0 = Spire.CompoundFile.Doc.PropertyType.Bool;
     }
     else if (this.object_0 is System.DateTime)
     {
         this.propertyType_0 = Spire.CompoundFile.Doc.PropertyType.DateTime;
     }
     else if (this.object_0 is object[])
     {
         this.propertyType_0 = Spire.CompoundFile.Doc.PropertyType.ObjectArray;
     }
     else if (this.object_0 is string[])
     {
         this.propertyType_0 = Spire.CompoundFile.Doc.PropertyType.StringArray;
     }
     else if (this.object_0 is byte[])
     {
         this.propertyType_0 = Spire.CompoundFile.Doc.PropertyType.Blob;
     }
     else if (this.object_0 is Spire.CompoundFile.Doc.ClipboardData)
     {
         this.propertyType_0 = Spire.CompoundFile.Doc.PropertyType.ClipboardData;
     }
 }
 internal DocumentProperty(BuiltInProperty A_0, object A_1)
 {
     this.builtInProperty_0 = A_0;
     this.object_0          = A_1;
     this.propertyType_0    = smethod_0(A_1);
 }