示例#1
0
		public override void Run(ServerContext context) {
			Logger.Info(this, "Updating...");
			string configFilePath = context.ConfigFilePath;
			string transformationFilePath = Path.Combine(context.CurrentPath, "add_user_sex.xdt");
			FileTransformer transformer = new FileTransformer(configFilePath, configFilePath, transformationFilePath);
			transformer.Run();
			Logger.Info(this, "Done");
		}
示例#2
0
        public override void Run(ServerContext context)
        {
            Logger.Info(this, "Updating...");
            string          configFilePath         = context.ConfigFilePath;
            string          transformationFilePath = Path.Combine(context.CurrentPath, "add_user_sex.xdt");
            FileTransformer transformer            = new FileTransformer(configFilePath, configFilePath, transformationFilePath);

            transformer.Run();
            Logger.Info(this, "Done");
        }