コード例 #1
0
		public ShapeViewModel (ShapeBase shape)
		{
			_shape = shape;
			_webServices = ColorWebServices.Instance;
			_imageService = ImageService.Instance;
			_shapeFactory = ShapeFactory.Instance;
			DoubleTapCommand = new Command (async ()=> HandleDoubleTap());
		}
コード例 #2
0
		private ShapeFactory ()
		{
			_imageService = ImageService.Instance;
			Task.Run (() => PreloadSquareShapes ());
		}