| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586 |
- //
- // System.Xml.Serialization.XmlReflectionMember
- //
- // Author:
- // Tim Coleman ([email protected])
- //
- // Copyright (C) Tim Coleman, 2002
- //
- namespace System.Xml.Serialization {
- public class XmlReflectionMember {
- #region Fields
- bool isReturnValue;
- string memberName;
- Type memberType;
- bool overrideIsNullable;
- SoapAttributes soapAttributes;
- XmlAttributes xmlAttributes;
- #endregion
- #region Constructors
- public XmlReflectionMember ()
- {
- }
- internal XmlReflectionMember (string name, Type type, XmlAttributes attributes)
- {
- memberName = name;
- memberType = type;
- xmlAttributes = attributes;
- }
- internal XmlReflectionMember (string name, Type type, SoapAttributes attributes)
- {
- memberName = name;
- memberType = type;
- soapAttributes = attributes;
- }
- #endregion // Constructors
- #region Properties
- public bool IsReturnValue {
- get { return isReturnValue; }
- set { isReturnValue = value; }
- }
- public string MemberName {
- get { return memberName; }
- set { memberName = value; }
- }
- public Type MemberType {
- get { return memberType; }
- set { memberType = value; }
- }
- public bool OverrideIsNullable {
- get { return overrideIsNullable; }
- set { overrideIsNullable = value; }
- }
- public SoapAttributes SoapAttributes {
- get {
- if (soapAttributes == null) soapAttributes = new SoapAttributes();
- return soapAttributes;
- }
- set { soapAttributes = value; }
- }
- public XmlAttributes XmlAttributes {
- get {
- if (xmlAttributes == null) xmlAttributes = new XmlAttributes();
- return xmlAttributes;
- }
- set { xmlAttributes = value; }
- }
- #endregion // Properties
- }
- }
|