Example #1
0
        private static void ReleaseRockerRxModel(object obj)
        {
            var model = obj as YuLegoRockerRxModel;

            YuLegoControlRxModelPool.Restore(model);
        }
Example #2
0
        private static void ReleaseInputFieldRxModel(object obj)
        {
            var model = obj as YuLegoInputFieldRxModel;

            YuLegoControlRxModelPool.Restore(model);
        }
Example #3
0
        private static void ReleaseProgressbarRxModel(object obj)
        {
            var model = obj as YuLegoProgressbarRxModel;

            YuLegoControlRxModelPool.Restore(model);
        }
Example #4
0
 private static IYuLegoRockerRxModel GetRockerRxModel() => YuLegoControlRxModelPool.TakeRockerModel();
Example #5
0
        private static void ReleasePlaneToggleRxModel(object obj)
        {
            var model = obj as YuLegoPlaneToggleRxModel;

            YuLegoControlRxModelPool.Restore(model);
        }
Example #6
0
 private static YuLegoInputFieldRxModel GetInputFieldRxModel() => YuLegoControlRxModelPool.TakeInputFieldModel();
Example #7
0
 private static YuLegoProgressbarRxModel GetProgressbarRxModel() =>
 YuLegoControlRxModelPool.TakeProgressbarModel();
Example #8
0
 private static YuLegoPlaneToggleRxModel GetPlaneToggleRxModel() =>
 YuLegoControlRxModelPool.TakePlaneToggleModel();
Example #9
0
 private static YuLegoSliderRxModel GetSliderRxModel() => YuLegoControlRxModelPool.TakeSliderModel();
Example #10
0
 private static YuLegoToggleRxModel GetToggleRxModel() => YuLegoControlRxModelPool.TakeToggleModel();
Example #11
0
 private static YuLegoTButtonRxModel GetTButtonRxModel() => YuLegoControlRxModelPool.TakeTButtonModel();
Example #12
0
 private static YuLegoRawImageRxModel GetRawImageRxModel() => YuLegoControlRxModelPool.TakeRawImageModel();
Example #13
0
 private static YuLegoImageRxModel GetImageRxModel() => YuLegoControlRxModelPool.TakeImageModel();
Example #14
0
 private static YuLegoTextRxModel GetTextRxModel() => YuLegoControlRxModelPool.TakeTextModel();