Пример #1
0
        public static bool SetElevation(this AView view, float value)
        {
            if (!view.IsAlive())
            {
                return(false);
            }

            view.Elevation = value;
            return(true);
        }
Пример #2
0
        public static void EnsureId(this AView view)
        {
            if (!view.IsAlive())
            {
                return;
            }

            if (view.Id == AView.NoId)
            {
                view.Id = AView.GenerateViewId();
            }
        }