Exemple #1
0
        private void ToString(AsString str)
        {
            str.Append(ResolveState.CurrentState.Code);

            if (Oid != null)
            {
                str.Append(":");
                str.Append(Oid.ToString());
            }
            else
            {
                str.Append(":-");
            }
            str.AddComma();
            if (spec == null)
            {
                str.Append("class", Object.GetType().FullName);
            }
            else
            {
                str.Append("specification", spec.ShortName);
                str.Append("Type", spec.FullName);
            }

            if (Object != null && TypeUtils.IsProxy(Object.GetType()))
            {
                str.Append("proxy", Object.GetType().FullName);
            }
            else
            {
                str.Append("proxy", "None");
            }

            str.Append("version", version == null ? null : version.AsSequence());
        }
        public override string ToString()
        {
            var str = new AsString(this);

            str.Append("name", UserName);
            str.Append("code", ValidationCode);
            return(str.ToString());
        }
        public override string ToString()
        {
            var str = new AsString(this);

            str.Append(base.ToString());
            str.AddComma();
            str.Append("persisted", IsPersisted);
            str.Append("type", ReturnSpec.ShortName);
            return(str.ToString());
        }
Exemple #4
0
        public override string ToString()
        {
            var str = new AsString(this);

            str.Append(base.ToString());
            str.Append(",");
            str.Append("persisted", IsPersisted);
            str.Append("type", ReturnSpec == null ? "unknown" : ReturnSpec.ShortName);
            return(str.ToString());
        }
Exemple #5
0
        public override string ToString()
        {
            var str = new AsString(this);

            str.Append("class", FullName);
            str.Append("type", TypeNameFor());
            str.Append("persistable", Persistable);
            str.Append("superclass", InnerSpec.Superclass == null ? "object" : InnerSpec.Superclass.FullName);
            return(str.ToString());
        }
        public override string ToString()
        {
            var str = new AsString(this);

            str.Append("complete", complete);
            return(str.ToString());
        }
Exemple #7
0
        public override string ToString()
        {
            var str = new AsString(this);

            ToString(str);

            // don't do title of unresolved objects as this may force the resolving of the object.
            if (ResolveState.IsTransient() || ResolveState.IsResolved() || ResolveState.IsAggregated())
            {
                str.Append("title", TitleString());
            }
            str.AppendAsHex("poco-hash", poco.GetHashCode());
            return(str.ToString());
        }