コード例 #1
0
 public InputHandler(ResourceContext resourceContext, ValidationHandler validationHandler)
 {
     ResourceContext   = resourceContext;
     ValidationHandler = validationHandler;
 }
コード例 #2
0
        public static GarageHandler GetInstance(ResourceContext resourceContext, InputHandler inputHandler, ValidationHandler validationHandler)
        {
            if (GarageHandler.instance == null)
            {
                GarageHandler.instance = new GarageHandler(resourceContext, inputHandler, validationHandler);
            }

            return(GarageHandler.instance);
        }
コード例 #3
0
 protected UserInterface(ResourceContext resourceContext, InputHandler inputHandler, ValidationHandler validationHandler)
 {
     ResourceContext   = resourceContext;
     InputHandler      = inputHandler;
     ValidationHandler = validationHandler;
 }
コード例 #4
0
 private GarageHandler(ResourceContext resourceContext, InputHandler inputHandler, ValidationHandler validationHandler)
 {
     ResourceContext   = resourceContext;
     InputHandler      = inputHandler;
     ValidationHandler = validationHandler;
 }