Пример #1
0
		public bool OnFollowReference(IReferenceHandlerContext context) {
			var opCode = (context.Reference as TextReference)?.Reference as OpCode;
			if (opCode != null) {
				var url = string.Format(msdnUrlFormat, GetMsdnOpCode(opCode));
				StartBrowser(url);
				return true;
			}

			return false;
		}
Пример #2
0
        public bool OnFollowReference(IReferenceHandlerContext context)
        {
            var opCode = (context.Reference as TextReference)?.Reference as OpCode;

            if (opCode != null)
            {
                var url = string.Format(opCodesUrl, GetMsdnOpCode(opCode));
                StartBrowser(url);
                return(true);
            }

            return(false);
        }