public override string ToString() {
     var str = new AsString(this);
     str.Append("sequence", time.GetValueOrDefault().Ticks);
     str.Append("time", time);
     str.Append("user", user);
     return str.ToString();
 }
        public static AsString CreateAnonymous(object obj)
        {
            var asString = new AsString();

            asString.Append(Name(obj));
            asString.Append("[");
            return(asString);
        }
 public override string ToString() {
     var toString = new AsString(this);
     toString.Append("context", ExecutionContextId());
     toString.Append("objectPersistor", objectPersistor);
     toString.Append("session", session);
     toString.Append("messageBroker", messageBroker);
     return toString.ToString();
 }
Exemplo n.º 4
0
 public static AsString CreateAnonymous(object obj) {
     var asString = new AsString();
     asString.Append(Name(obj));
     asString.Append("[");
     return asString;
 }
 public override string ToString() {
     var str = new AsString(this);
     str.Append(base.ToString());
     str.AddComma();
     str.Append("persisted", IsPersisted);
     str.Append("type", Specification.ShortName);
     return str.ToString();
 }
 public override string ToString() {
     var str = new AsString(this);
     str.Append("complete", complete);
     return str.ToString();
 }
Exemplo n.º 7
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();
 }
        protected internal virtual void ToString(AsString str) {
            str.Append(ResolveState.CurrentState.Code);

            if (Oid != null) {
                str.Append(":");
                str.Append(Oid.ToString());
            }
            else {
                str.Append(":-");
            }
            str.AddComma();
            if (specification == null) {
                str.Append("class", Object.GetType().FullName);
            }
            else {
                str.Append("specification", specification.ShortName);
                str.Append("Type", specification.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);
            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();
        }
Exemplo n.º 10
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", superClassSpecification == null ? "object" : superClassSpecification.FullName);
     return str.ToString();
 }
Exemplo n.º 11
0
 public override string ToString() {
     var str = new AsString(this, id);
     str.Append("title", titleString);
     str.Append("oid", oid);
     str.Append("pojo", adaptedObject);
     return str.ToString();
 }
Exemplo n.º 12
0
 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("class", fullName);
     return str.ToString();
 }