예제 #1
0
        internal ChoCommandLineArgObjectDirector GetMe(Type type)
        {
            ChoGuard.ArgumentNotNull(type, "Type");

            if (_loggableElement == null)
            {
                lock (SyncRoot)
                {
                    if (_loggableElement == null)
                    {
                        _loggableElement = new ChoCommandLineArgObjectDirector();
                    }
                }
            }

            return(_loggableElement);
        }
예제 #2
0
 public virtual string GetUsage()
 {
     return(ChoCommandLineArgObjectDirector.GetUsage(this));
 }