diff Agendas/trunk/src/Agendas.Domain/IdentityContext.cs @ 54:3059a5f8930f

Code cleanup
author nelopauselli
date Sat, 14 May 2011 13:01:24 -0300
parents 3ebe89c88caa
children db4b1e2cae49
line wrap: on
line diff
--- a/Agendas/trunk/src/Agendas.Domain/IdentityContext.cs	Sat May 14 12:45:50 2011 -0300
+++ b/Agendas/trunk/src/Agendas.Domain/IdentityContext.cs	Sat May 14 13:01:24 2011 -0300
@@ -2,28 +2,27 @@
 
 namespace AltNetHispano.Agendas.Domain
 {
-    public class IdentityContext
-    {
-        private static ISeguridad _current;
+	public class IdentityContext
+	{
+		private static ISeguridad _current;
 
-        public static ISeguridad Current
-        {
-            private get {
-                if (_current == null)
-                    throw new IdentityContextNotConfiguredException();
-                return _current;
-            }
-            set {
-                _current = value;
-            }
-        }
+		public static ISeguridad Current
+		{
+			private get
+			{
+				if (_current == null)
+					throw new IdentityContextNotConfiguredException();
+				return _current;
+			}
+			set { _current = value; }
+		}
 
-        public static string GetUserName()
-        {
-            var username = Current.GetUserName();
-            if (string.IsNullOrWhiteSpace(username))
-                throw new UsuarioNoAutenticadoException();
-            return username;
-        }
-    }
+		public static string GetUserName()
+		{
+			string username = Current.GetUserName();
+			if (string.IsNullOrWhiteSpace(username))
+				throw new UsuarioNoAutenticadoException();
+			return username;
+		}
+	}
 }
\ No newline at end of file