Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
22 | 3 | 1 | 0.991 | compilation_unit |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 22 | 1 | src/NHibernate.ByteCode.Castle/ProxyFactoryFactory.cs |
2 | 23 | 1 | src/NHibernate.ByteCode.LinFu/ProxyFactoryFactory.cs |
3 | 26 | 1 | src/NHibernate.ByteCode.Spring/ProxyFactoryFactory.cs |
| ||||
using NHibernate.Bytecode; using NHibernate.Proxy; namespace NHibernate.ByteCode.Castle { public class ProxyFactoryFactory : IProxyFactoryFactory { #region IProxyFactoryFactory Members public IProxyFactory BuildProxyFactory() { return new ProxyFactory(); } public IProxyValidator ProxyValidator { get { return new DynProxyTypeValidator(); } } #endregion } } |
| ||||
using NHibernate.Bytecode; using NHibernate.Proxy; namespace NHibernate.ByteCode.LinFu { public class ProxyFactoryFactory : IProxyFactoryFactory { #region IProxyFactoryFactory Members public IProxyFactory BuildProxyFactory() { return new ProxyFactory(); } public IProxyValidator ProxyValidator { // TODO : LinFu need a specific proxy validator because need virtual methods even when we are using an interface as proxy get { return new DynProxyTypeValidator(); } } #endregion } } |
| ||||
using NHibernate.Bytecode; using NHibernate.Proxy; namespace NHibernate.ByteCode.Spring { /// <summary> /// Creates a Spring for .NET backed <see cref="IProxyFactory"/> instance. /// </summary> /// <author>Erich Eichinger</author> public class ProxyFactoryFactory : IProxyFactoryFactory { #region IProxyFactoryFactory Members public IProxyFactory BuildProxyFactory() { return new ProxyFactory(); } public IProxyValidator ProxyValidator { get { return new DynProxyTypeValidator(); } } #endregion } } |
| |||
using NHibernate.Bytecode; using NHibernate.Proxy; namespace NHibernate.ByteCode. [[#variable5844d6e0]] { /// <summary> /// Creates a Spring for .NET backed <see cref="IProxyFactory"/> instance. /// </summary> /// <author>Erich Eichinger</author> public class ProxyFactoryFactory: IProxyFactoryFactory { #region IProxyFactoryFactory Members public IProxyFactory BuildProxyFactory() { return new ProxyFactory(); } public IProxyValidator ProxyValidator { // TODO : LinFu need a specific proxy validator because need virtual methods even when we are using an interface as proxy get { return new DynProxyTypeValidator(); } } #endregion } } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#5844d6e0]] | Castle |
1 | 2 | [[#5844d6e0]] | LinFu |
1 | 3 | [[#5844d6e0]] | Spring |