SIL.FieldWorks.FieldWorks.FollowLink C# (CSharp) Метод

FollowLink() статический приватный Метод

Follows the specified link request for this project.
static private FollowLink ( SIL.FieldWorks.Common.FwUtils.FwAppArgs link ) : void
link SIL.FieldWorks.Common.FwUtils.FwAppArgs The link request.
Результат void
		internal static void FollowLink(FwAppArgs link)
		{
			// Make sure the application that needs to handle the link is created.
			KickOffAppFromOtherProcess(link);

			// FWR-2504 Maybe I'm missing something but "KickOffAppFromOtherProcess(link)"
			// seems to activate the link already in "InitializeApp()". If so, FwAppArgs
			// will have been cleared out by now. I'll leave this in, since there may be
			// other cases where the link information survives and we need to follow it now.
			if (link.HasLinkInformation)
			{
				FwApp app = GetAppFromAppNameOrAbbrev(link.AppName);
				Debug.Assert(app != null && app.HasBeenFullyInitialized,
					"KickOffAppFromOtherProcess should create the application needed");
				// Let the application handle the link
				app.HandleIncomingLink(link);
			}
		}
FieldWorks