public static IUIContextHolder GetUIContextHolder(this IWorkingContext workingContext)
        {
            PrimaryProjectUiWorkingContextManagerDlc dlc = workingContext.GetPrimaryProjectUiWorkingContextManagerDlc()
                                                           as PrimaryProjectUiWorkingContextManagerDlc;
            PrimaryProjectUiWorkingContextManager manager = Reflector.GetInstancePropertyByName(dlc, "Forwardee", ReflectionWays.SystemReflection)
                                                            as PrimaryProjectUiWorkingContextManager;
            var proxy = new PrimaryProjectUiWorkingContextManagerProxy(manager);

            return(proxy.IUIContextHolder);
        }
        public static PrimaryProjectUiWorkingContextManagerProxy GetPrimaryProjectUiWorkingContextManagerProxy([NotNull] this IWorkingContext workingContext)
        {
            PrimaryProjectUiWorkingContextManagerDlc dlc = workingContext.GetPrimaryProjectUiWorkingContextManagerDlc()
                                                           as PrimaryProjectUiWorkingContextManagerDlc;
            PrimaryProjectUiWorkingContextManager manager = Reflector.GetInstancePropertyByName(dlc, "Forwardee", ReflectionWays.SystemReflection)
                                                            as PrimaryProjectUiWorkingContextManager;
            PrimaryProjectUiWorkingContextManagerProxy proxy = new PrimaryProjectUiWorkingContextManagerProxy(manager);

            return(proxy);
        }
 internal PrimaryProjectUiWorkingContextManagerProxy(
     PrimaryProjectUiWorkingContextManager manager)
 {
     this.manager = manager;
     Instance     = this;
 }