public void Register(IGlobalContext context, IExtensionDefinitionContext definitionContext)
 {
     definitionContext.RegisterRepositoryController(typeof(RepositoryController));
     definitionContext.RegisterRepositoryCommand(typeof(RepositoryCommand));
     definitionContext.RegisterSessionCommand(typeof(SessionAnalyzer));
     definitionContext.RegisterSessionAnalyzer(typeof(SessionAnalyzer));
     definitionContext.RegisterLogMessageCommand(typeof(AddDefectCommand));
     definitionContext.RegisterSessionSummaryView(typeof(FogBugzSummaryView), "FogBugz Case List", "Find sessions associated with FogBugz cases", null);
     definitionContext.RegisterSessionSummaryView(typeof(FogBugzLookupView), "FogBugz Lookup", "Find sessions associated with a FogBugz Case Id", null);
 }
 public void Register(IGlobalContext context, IExtensionDefinitionContext definitionContext)
 {
     definitionContext.RegisterRepositoryController(typeof(RepositoryController));
     definitionContext.RegisterRepositoryCommand(typeof(RepositoryCommand));
     definitionContext.RegisterSessionCommand(typeof(SessionAnalyzer));
     definitionContext.RegisterSessionAnalyzer(typeof(SessionAnalyzer));
     definitionContext.RegisterLogMessageCommand(typeof(AddDefectCommand));
     definitionContext.RegisterSessionSummaryView(typeof(FogBugzSummaryView), "FogBugz Case List", "Find sessions associated with FogBugz cases", null);
     definitionContext.RegisterSessionSummaryView(typeof(FogBugzLookupView), "FogBugz Lookup", "Find sessions associated with a FogBugz Case Id", null);
 }
 /// <summary>
 /// Called to initialize the add in.
 /// </summary>
 public void Register(IGlobalContext context, IExtensionDefinitionContext controllerContext)
 {
     //we have to register all of our types during this call or they won't be used at all.
     controllerContext.RegisterSessionAnalyzer(typeof(SessionAnalyzer));
     controllerContext.RegisterSessionCommand(typeof(SessionAnalyzer));
     controllerContext.RegisterSessionSummaryView(typeof(SessionFilterView), "Find By User", "Find sessions associated with an application user", null);
 }
 /// <summary>
 /// Called to initialize the add in.
 /// </summary>
 public void Register(IGlobalContext context, IExtensionDefinitionContext controllerContext)
 {
     //we have to register all of our types during this call or they won't be used at all.
     controllerContext.RegisterSessionAnalyzer(typeof(SessionAnalyzer));
     controllerContext.RegisterSessionCommand(typeof(SessionAnalyzer));
     controllerContext.RegisterSessionSummaryView(typeof(SessionFilterView), "Find By User", "Find sessions associated with an application user", null);
 }
        public void Register(IGlobalContext context, IExtensionDefinitionContext definitionContext)
        {
            //we have to register all of our types during this call or they won't be used at all.
            definitionContext.RegisterSessionAnalyzer(typeof(SessionAnalysisAddInSample));
            definitionContext.RegisterSessionCommand(typeof(SessionAnalysisAddInSample));
            definitionContext.RegisterSessionCommand(typeof(DemoAppAddInSample));
            definitionContext.RegisterLogMessageCommand(typeof(LogMessageCommandSample));
            definitionContext.RegisterGlobalCommand(typeof(GlobalCommandSample));

            //you have to provide more information for views because the user has to be able to pick them without them being created.
            definitionContext.RegisterSessionSummaryView(typeof(SessionSummaryViewAddInSample), "Session Search", "Find sessions based on their description, user, host, or command line information", null);
            definitionContext.RegisterSessionView(typeof(SessionViewAddInSample), "Exceptions", "Displays all of the exceptions in the session", null);
        }
        public void Register(IGlobalContext context, IExtensionDefinitionContext definitionContext)
        {
            //we have to register all of our types during this call or they won't be used at all.
            definitionContext.RegisterSessionAnalyzer(typeof(SessionAnalysisAddInSample));
            definitionContext.RegisterSessionCommand(typeof(SessionAnalysisAddInSample));
            definitionContext.RegisterSessionCommand(typeof(DemoAppAddInSample));
            definitionContext.RegisterLogMessageCommand(typeof(LogMessageCommandSample));
            definitionContext.RegisterGlobalCommand(typeof(GlobalCommandSample));

            //you have to provide more information for views because the user has to be able to pick them without them being created.
            definitionContext.RegisterSessionSummaryView(typeof(SessionSummaryViewAddInSample), "Session Search", "Find sessions based on their description, user, host, or command line information", null);
            definitionContext.RegisterSessionView(typeof(SessionViewAddInSample), "Exceptions", "Displays all of the exceptions in the session", null);
        }