public NetSparkleAssemblyAccessor(String assemblyName, Boolean bUseReflectionAccesor)
 {
     if ( bUseReflectionAccesor )
         _internalAccessor = new NetSparkleAssemblyReflectionAccessor(assemblyName);
     else
         _internalAccessor = new NetSparkleAssemblyDiagnosticsAccessor(assemblyName);
 }
 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="assemblyName">the assembly name</param>
 /// <param name="isReflectionAccesorUsed"><c>true</c> if reflection is used to access the attributes.</param>
 public NetSparkleAssemblyAccessor(string assemblyName, bool isReflectionAccesorUsed)
 {
     if ( isReflectionAccesorUsed )
         _internalAccessor = new NetSparkleAssemblyReflectionAccessor(assemblyName);
     else
         _internalAccessor = new NetSparkleAssemblyDiagnosticsAccessor(assemblyName);
 }
 public NetSparkleAssemblyAccessor(String assemblyName, Boolean bUseReflectionAccesor)
 {
     if (bUseReflectionAccesor)
     {
         _internalAccessor = new NetSparkleAssemblyReflectionAccessor(assemblyName);
     }
     else
     {
         _internalAccessor = new NetSparkleAssemblyDiagnosticsAccessor(assemblyName);
     }
 }
Esempio n. 4
0
 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="assemblyName">the assembly name</param>
 /// <param name="isReflectionAccesorUsed"><c>true</c> if reflection is used to access the attributes.</param>
 public NetSparkleAssemblyAccessor(string assemblyName, bool isReflectionAccesorUsed)
 {
     if (isReflectionAccesorUsed)
     {
         _internalAccessor = new NetSparkleAssemblyReflectionAccessor(assemblyName);
     }
     else
     {
         _internalAccessor = new NetSparkleAssemblyDiagnosticsAccessor(assemblyName);
     }
 }