Commit a59636c
Changed files (4)
product
Gorilla.Commons.Infrastructure
Gorilla.Commons.Windows.Forms
Helpers
product/Gorilla.Commons.Infrastructure/Proxies/ProxyFactory.cs
@@ -2,9 +2,9 @@ namespace Gorilla.Commons.Infrastructure.Proxies
{
static public class ProxyFactory
{
- static public T Create<T>(T target, params IInterceptor[] interceptors)
+ static public T create<T>(T target, params IInterceptor[] interceptors)
{
- return new RemotingProxyFactory<T>(target, interceptors).CreateProxy();
+ return new RemotingProxyFactory<T>(target, interceptors).create_proxy();
}
}
}
\ No newline at end of file
product/Gorilla.Commons.Infrastructure/Proxies/ProxyFactorySpecs.cs
@@ -17,7 +17,7 @@ namespace Gorilla.Commons.Infrastructure.Proxies
};
because b =
- () => { some_celebrity = ProxyFactory.Create<IPerson>(marshal_mathers, interceptors); };
+ () => { some_celebrity = ProxyFactory.create<IPerson>(marshal_mathers, interceptors); };
it should_all_each_interceptor_to_intercept_the_invocation =
() => some_celebrity.what_is_your_name().should_be_equal_to("slim shady");
product/Gorilla.Commons.Infrastructure/Proxies/RemotingProxyFactory.cs
@@ -23,12 +23,12 @@ namespace Gorilla.Commons.Infrastructure.Proxies
var call = message.downcast_to<IMethodCallMessage>();
var invocation = new MethodCallInvocation<T>(interceptors, call, target);
invocation.Proceed();
- return ReturnValue(invocation.ReturnValue, invocation.Arguments, call);
+ return return_value(invocation.ReturnValue, invocation.Arguments, call);
}
return null;
}
- IMessage ReturnValue(object return_value, object[] out_parameters, IMethodCallMessage call)
+ IMessage return_value(object return_value, object[] out_parameters, IMethodCallMessage call)
{
return new ReturnMessage(return_value,
out_parameters,
@@ -36,7 +36,7 @@ namespace Gorilla.Commons.Infrastructure.Proxies
call.LogicalCallContext, call);
}
- public T CreateProxy()
+ public T create_proxy()
{
return GetTransparentProxy().downcast_to<T>();
}
product/Gorilla.Commons.Windows.Forms/Helpers/IBindableList.cs
@@ -2,10 +2,10 @@ using System.Collections.Generic;
namespace Gorilla.Commons.Windows.Forms.Helpers
{
- public interface IBindableList<TItemToBindTo>
+ public interface IBindableList<ItemToBindTo>
{
- void bind_to(IEnumerable<TItemToBindTo> items);
- TItemToBindTo get_selected_item();
- void set_selected_item(TItemToBindTo item);
+ void bind_to(IEnumerable<ItemToBindTo> items);
+ ItemToBindTo get_selected_item();
+ void set_selected_item(ItemToBindTo item);
}
}
\ No newline at end of file