Ejemplo n.º 1
0
        private void ShowSDKHelpTopic(string helpTopic, FrameworkName framework)
        {
            BlendSdkHelp blendSdkHelp = this.GetBlendSDKHelp(framework);

            if (!blendSdkHelp.Available)
            {
                return;
            }
            blendSdkHelp.ShowHelpTopic(this.BuildHelpTopicQuery(helpTopic));
        }
Ejemplo n.º 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);
        }
Ejemplo n.º 3
0
 public override void Execute()
 {
     BlendSdkHelp.GetInstanceForFramework(this.Framework).ShowHelpTableOfContents();
 }
Ejemplo n.º 4
0
 private BlendSdkHelp GetBlendSDKHelp(FrameworkName framework)
 {
     return(BlendSdkHelp.GetInstanceForFramework(this.GetForwardedFrameworkName(framework)));
 }