public WriteTypeReference ( DataType dt ) : void | ||
dt | DataType | |
Результат | void |
public void VisitConversion(Conversion conversion) { InnerFormatter.Write("CONVERT("); var trf = new TypeReferenceFormatter(InnerFormatter); WriteExpression(conversion.Expression); InnerFormatter.Write(", "); trf.WriteTypeReference(conversion.SourceDataType); InnerFormatter.Write(", "); trf.WriteTypeReference(conversion.DataType); InnerFormatter.Write(")"); }
public virtual void VisitProcedureConstant(ProcedureConstant pc) { InnerFormatter.WriteHyperlink(pc.Procedure.Name, pc.Procedure); var genArgs = pc.Procedure.GetGenericArguments(); if (genArgs.Length > 0) { var sep = '<'; var tf = new TypeReferenceFormatter(InnerFormatter); foreach (var arg in genArgs) { InnerFormatter.Write(sep); sep = ','; tf.WriteTypeReference(arg); } InnerFormatter.Write('>'); } }