예제 #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);
        }