示例#1
0
文件: Dump.cs 项目: dox0/DotNet471RS3
            /// <summary>
            /// SimpleColumnMap
            /// </summary>
            /// <param name="columnMap"></param>
            /// <param name="dumper"></param>
            /// <returns></returns>
            internal override void Visit(VarRefColumnMap columnMap, Dump dumper)
            {
                Dictionary <string, object> attrs = GetAttributes(columnMap);

                attrs.Add("Var", ((VarRefColumnMap)columnMap).Var.Id);
                using (new AutoXml(dumper, "VarRef", attrs)) {
                }
            }
示例#2
0
 internal abstract TResultType Visit(VarRefColumnMap columnMap, TArgType arg);
        /// <summary>
        /// VarRefColumnMap
        /// </summary>
        /// <param name="columnMap"></param>
        /// <param name="replacementVarMap"></param>
        /// <returns></returns>
        internal override ColumnMap Visit(VarRefColumnMap columnMap, VarMap replacementVarMap)
        {
            Var replacementVar = GetReplacementVar(columnMap.Var, replacementVarMap);

            return(new VarRefColumnMap(columnMap.Type, columnMap.Name, replacementVar));
        }
示例#4
0
 internal virtual void Visit(VarRefColumnMap columnMap, TArgType arg)
 {
 }