Пример #1
0
        private void ShowSDKHelpTopic(string helpTopic, FrameworkName framework)
        {
            BlendSdkHelp blendSdkHelp = this.GetBlendSDKHelp(framework);

            if (!blendSdkHelp.Available)
            {
                return;
            }
            blendSdkHelp.ShowHelpTopic(this.BuildHelpTopicQuery(helpTopic));
        }
Пример #2
0
        public static BlendSdkHelp GetInstanceForFramework(FrameworkName frameworkName)
        {
            if (BlendSdkHelp.instances == null)
            {
                BlendSdkHelp.instances = new FrameworkNameDictionary <BlendSdkHelp>();
            }
            BlendSdkHelp blendSdkHelp;

            if (!BlendSdkHelp.instances.TryGetValue(frameworkName, out blendSdkHelp))
            {
                blendSdkHelp = new BlendSdkHelp(frameworkName);
                BlendSdkHelp.instances.Add(frameworkName, blendSdkHelp);
            }
            return(blendSdkHelp);
        }
 public override void Execute()
 {
     BlendSdkHelp.GetInstanceForFramework(this.Framework).ShowHelpTableOfContents();
 }
Пример #4
0
 private BlendSdkHelp GetBlendSDKHelp(FrameworkName framework)
 {
     return(BlendSdkHelp.GetInstanceForFramework(this.GetForwardedFrameworkName(framework)));
 }