Ejemplo n.º 1
0
        public static ISubject GetSubject()
        {
            ISubject subject = ThreadContext.GetSubject();

            if (subject == null)
            {
                subject = (new Subject.Builder()).buildSubject();
                ThreadContext.bind(subject);
            }
            return(subject);
        }