我有许多很多很多空的方法称为getFieldNameX或getFieldNameY(实现一个大的接口,许多柱状LINQ到SQL表)类的类。我想用查找和替换插入返回值。先进的使用查找和替换
这是有
Function GetInsertedDate() as Date implements myInterface.getInsertedDate
End Function
这就是我想要的:
Function GetInsertedDate() as Date implements myInterface.getInsertedDate
return me.insertedDate //"return me." + method signature minus get
End Function
有什么方法与find做到这一点并替换?
可能需要的一点点时间来调整表达,但它可以使用正则表达式 – 2012-03-15 15:57:18