Exemplo n.º 1
0
        private IOperation LookupOperation(string token)
        {
            string prefix;
            string suffix;

            TextBuilder.SplitPrefix(token, '.', out prefix, out suffix);

            LookupAssetType(prefix);

            IOperation mapped = _map[token] as IOperation;

            if (mapped != null)
            {
                return(mapped);
            }

            return(HookupOperation(prefix, suffix));
        }
Exemplo n.º 2
0
 public string Stringize()
 {
     return(TextBuilder.Join(Values, ",", new ValueStringizer().Stringize));
 }
 public override string ToString()
 {
     return(string.Format("{0}={1}", Token, TextBuilder.Join(Values, ",", new ValueStringizer(string.Empty).Stringize)));
 }