示例#1
0
        ///////////////////////////////////////////////////////////////////////

        private static bool IsPrimary(
            AppDomain appDomain
            ) /* GLOBAL */
        {
            if (appDomain == null)
            {
                return(false);
            }

            return(IsSame(appDomain, GlobalState.GetAppDomain()));
        }
示例#2
0
        ///////////////////////////////////////////////////////////////////////

        public static bool IsPrimaryDefault() /* GLOBAL */
        {
            return(IsDefault(GlobalState.GetAppDomain()));
        }
示例#3
0
        ///////////////////////////////////////////////////////////////////////

        public static int GetPrimaryId() /* GLOBAL */
        {
            return(GetId(GlobalState.GetAppDomain()));
        }