コード例 #1
0
        public static AdkMetadata GetInstance()
        {
            if ( !Adk.Initialized ) {
                throw new InvalidOperationException( "ADK is not initialized" );
            }

            if ( gSingleton == null ) {
                gSingleton = new AdkMetadata();
            }

            return gSingleton;
        }
コード例 #2
0
        public static AdkMetadata GetInstance()
        {
            if (!Adk.Initialized)
            {
                throw new InvalidOperationException("ADK is not initialized");
            }

            if (gSingleton == null)
            {
                gSingleton = new AdkMetadata();
            }

            return(gSingleton);
        }