Example #1
0
        public override string ToString()
        {
            StringBuilder __sb    = new StringBuilder("RequestMsg(");
            bool          __first = true;

            if (Play != null && __isset.Play)
            {
                if (!__first)
                {
                    __sb.Append(", ");
                }
                __first = false;
                __sb.Append("Play: ");
                __sb.Append(Play == null ? "<null>" : Play.ToString());
            }
            if (Pause != null && __isset.Pause)
            {
                if (!__first)
                {
                    __sb.Append(", ");
                }
                __first = false;
                __sb.Append("Pause: ");
                __sb.Append(Pause == null ? "<null>" : Pause.ToString());
            }
            if (Stop != null && __isset.Stop)
            {
                if (!__first)
                {
                    __sb.Append(", ");
                }
                __first = false;
                __sb.Append("Stop: ");
                __sb.Append(Stop == null ? "<null>" : Stop.ToString());
            }
            if (AddPath != null && __isset.AddPath)
            {
                if (!__first)
                {
                    __sb.Append(", ");
                }
                __first = false;
                __sb.Append("AddPath: ");
                __sb.Append(AddPath == null ? "<null>" : AddPath.ToString());
            }
            if (RemovePath != null && __isset.RemovePath)
            {
                if (!__first)
                {
                    __sb.Append(", ");
                }
                __first = false;
                __sb.Append("RemovePath: ");
                __sb.Append(RemovePath == null ? "<null>" : RemovePath.ToString());
            }
            if (Query != null && __isset.Query)
            {
                if (!__first)
                {
                    __sb.Append(", ");
                }
                __first = false;
                __sb.Append("Query: ");
                __sb.Append(Query == null ? "<null>" : Query.ToString());
            }
            __sb.Append(")");
            return(__sb.ToString());
        }