Update of /cvsroot/nhibernate/nhibernate/src/NHibernate/Cfg
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16006/Cfg
Modified Files:
Environment.cs
Log Message:
Sealed the class and made default ctor private.
Index: Environment.cs
===================================================================
RCS file: /cvsroot/nhibernate/nhibernate/src/NHibernate/Cfg/Environment.cs,v
retrieving revision 1.22
retrieving revision 1.23
diff -C2 -d -r1.22 -r1.23
*** Environment.cs 31 Dec 2004 15:54:08 -0000 1.22
--- Environment.cs 23 Jan 2005 15:41:39 -0000 1.23
***************
*** 24,28 ****
/// </list>
/// </remarks>
! public class Environment
{
private static readonly ILog log = LogManager.GetLogger( typeof( Environment ) );
--- 24,28 ----
/// </list>
/// </remarks>
! public sealed class Environment
{
private static readonly ILog log = LogManager.GetLogger( typeof( Environment ) );
***************
*** 83,86 ****
--- 83,91 ----
}
+ private Environment()
+ {
+ // should not be created.
+ }
+
/// <summary>
/// Gets a copy of the configuration found in app.config/web.config
|