Пример #1
0
        public VueComponent(string id, VueWindow parent)
        {
            ComponentID = id;
            _compName   = GetType().Name;
            Parent      = parent;

            MapIPC(WebExposeType.All);

            _data = new VueData(this, GetVueProperties(GetType(), false));
            _data.Initialize();
        }
Пример #2
0
        public VueWindow(IWebWindowImplementation window = null) : base(window)
        {
            bool requireExpose = false;

            VueSettingsAttribute settings = GetType().GetCustomAttribute <VueSettingsAttribute>();

            if (settings != null)
            {
                requireExpose = settings.RequireExpose;
            }

            _vueData = VueData.Create(this, requireExpose);
        }