AspectSharp.Core.CustomProxyGenerator.CreateClassProxy C# (CSharp) Method

CreateClassProxy() public method

Generates a class which extends the baseClass, overriding all the virtual methods and implementing all the mixin interfaces.
public CreateClassProxy ( Type baseClass, object mixins, Castle.Core.Interceptor.IInterceptor interceptor ) : object
baseClass System.Type Super class
mixins object Array of mixins to be implemented by the proxy
interceptor Castle.Core.Interceptor.IInterceptor Instance of
return object
		public object CreateClassProxy(Type baseClass, object[] mixins, IInterceptor interceptor,
			params object[] constructorArgs)
		{
			ProxyGenerationOptions options = CreateProxyGenerationOptions(mixins);
			return CreateClassProxy(baseClass, null, options, constructorArgs, interceptor);
		}