我正在使用visual studio 2015并希望自动格式化使我的代码执行它不做的事情,排列命名参数的值。以下是autoformat的作用:
EMRSQL_InsertUpdate_Lab_Result(-1, Convert.ToInt32(SplitResult[1])
, intEmpID
, intPtID
, strItemName: GetXMLInnerTextNullable(Node, "ResultDescription").ToString()
, datItemDate: GetXMLInnerTextNullable(Node, "ResultEffectiveTime").ToString()
, strFillerOrderAccessionID: GetXMLInnerTextNullable(Node, "ID").ToString()
, strResultValue: GetXMLInnerTextNullable(Node, "ResultValue").ToString()
, strResultUnits: GetXMLInnerTextNullable(Node, "ResultUnit").ToString()
, strResultFlag: InterpretationCode
, strServiceID: LOINCServiceID
, strServiceIDType: ServiceIDType);
这就是我想要它做的事情:
Result = EMRSQL_InsertUpdate_Lab_Result(-1, Convert.ToInt32(SplitResult[1])
, intEmpID
, intPtID
, strItemName: GetXMLInnerTextNullable(Node, "ResultDescription").ToString()
, datItemDate: GetXMLInnerTextNullable(Node, "ResultEffectiveTime").ToString()
, strFillerOrderAccessionID: GetXMLInnerTextNullable(Node, "ID").ToString()
, strResultValue: GetXMLInnerTextNullable(Node, "ResultValue").ToString()
, strResultUnits: GetXMLInnerTextNullable(Node, "ResultUnit").ToString()
, strResultFlag: InterpretationCode
, strServiceID: LOINCServiceID
, strServiceIDType: ServiceIDType);