Esempio n. 1
0
        public override string ToString()
        {
            EnsureScanDefinedMethods();

            string typeName = this._comTypeDesc.TypeName;

            if (String.IsNullOrEmpty(typeName))
            {
                typeName = "IDispatch";
            }

            return(String.Format(CultureInfo.CurrentCulture, "{0} ({1})", RuntimeCallableWrapper.ToString(), typeName));
        }
Esempio n. 2
0
        public override string ToString()
        {
            ComTypeDesc ctd      = _comTypeDesc;
            string      typeName = null;

            if (ctd != null)
            {
                typeName = ctd.TypeName;
            }

            if (String.IsNullOrEmpty(typeName))
            {
                typeName = "IDispatch";
            }

            return(String.Format(CultureInfo.CurrentCulture, "{0} ({1})", RuntimeCallableWrapper.ToString(), typeName));
        }
Esempio n. 3
0
        public override string ToString()
        {
            ComTypeDesc ctd      = _comTypeDesc;
            string      typeName = null;

            if (ctd != null)
            {
                typeName = ctd.TypeName;
            }

            if (string.IsNullOrEmpty(typeName))
            {
                typeName = "IDispatch";
            }

            return($"{RuntimeCallableWrapper.ToString()} ({typeName})");
        }