コード例 #1
0
ファイル: Program.cs プロジェクト: Dawogi/NLog-LoggerNaming
        static void Main(string[] args)
        {
            LogManager.Configuration = messageConfig;

            Doctor  doctor  = new Doctor("Timothy");
            Patient patient = new Patient("Frederick");

            doctor.ChangeName("Tim");
            patient.ChangeName("Fred");
        }
コード例 #2
0
        static void Main(string[] args)
        {
            Doctor doctor = new Doctor(new XmlFileStore());

            doctor.ChangeName("Name");
        }