Atspi.Desktop.Desktop C# (CSharp) Метод

Desktop() приватный Метод

private Desktop ( Application registry ) : System
registry Application
Результат System
        internal Desktop(Application registry)
            : base(registry, "/org/a11y/atspi/accessible/root")
        {
            lock (sync) {
                if (instance == null)
                    instance = this;
                else
                    throw new Exception ("Attempt to create a second desktop");
            }
            role = Role.DesktopFrame;
            children = new List<Accessible> ();

            stateSet = new StateSet ();
            stateSet.Add (StateType.Enabled);
            stateSet.Add (StateType.Sensitive);
            stateSet.Add (StateType.Showing);
            stateSet.Add (StateType.Visible);

            InitEvents ();
        }