public GetProxyFunctionName ( string methodname ) : string | ||
methodname | string | Der Name der Methode z.B. GetAllPersons |
Результат | string |
public void LowerFirstChar_True_Methodname_Two_CharLength() { //Arrange var proxyBuilder = new ProxyBuilderHelper(new ProxySettings() { LowerFirstCharInFunctionName = true }); //Act var name = proxyBuilder.GetProxyFunctionName("Ge"); //Assert Assert.AreEqual(name, "ge"); }
public void LowerFirstChar_True() { //Arrange var proxyBuilder = new ProxyBuilderHelper(new ProxySettings() { LowerFirstCharInFunctionName = true}); //Act var name = proxyBuilder.GetProxyFunctionName("GetMember"); //Assert Assert.AreEqual(name, "getMember"); }