Exemplo n.º 1
0
        public override String ToString()
        {
            var namedType = Parameter as CapnpNamedType;
            var paramStr  = namedType == null?Parameter.ToString() : namedType.Name;

            return("List(" + paramStr + ")");
        }
Exemplo n.º 2
0
        public override String ToString()
        {
            var namedType = Type as CapnpNamedType;
            var typeStr   = namedType == null?Type.ToString() : namedType.Name;

            return(String.Format("Field: {0} @{1} :{2} = {3} {4}", Name, Number, typeStr, Value, Annotation));
        }