CloneSet927


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
22310.991compilation_unit
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1221
src/NHibernate.ByteCode.Castle/ProxyFactoryFactory.cs
2231
src/NHibernate.ByteCode.LinFu/ProxyFactoryFactory.cs
3261
src/NHibernate.ByteCode.Spring/ProxyFactoryFactory.cs
Clone Instance
1
Line Count
22
Source Line
1
Source File
src/NHibernate.ByteCode.Castle/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
        }
}


Clone Instance
2
Line Count
23
Source Line
1
Source File
src/NHibernate.ByteCode.LinFu/ProxyFactoryFactory.cs

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
        }
}


Clone Instance
3
Line Count
26
Source Line
1
Source File
src/NHibernate.ByteCode.Spring/ProxyFactoryFactory.cs

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
        }
}


Clone AbstractionParameter Count: 1Parameter Bindings

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 Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#5844d6e0]]
Castle 
12[[#5844d6e0]]
LinFu 
13[[#5844d6e0]]
Spring