public ProfilerInstrumentationPopup(Dictionary<string, int> functions, bool showAllCheckbox, bool showAutoInstrumemtationParams) { this.m_ShowAutoInstrumemtationParams = showAutoInstrumemtationParams; this.m_ShowAllCheckbox = showAllCheckbox; this.m_AutoInstrumentedAssemblyTypes = (InstrumentedAssemblyTypes) SessionState.GetInt("ProfilerAutoInstrumentedAssemblyTypes", 0); this.m_FunctionsListInputData = new ProfilerInstrumentationPopup.InputData(); this.m_FunctionsListInputData.m_CloseOnSelection = false; this.m_FunctionsListInputData.m_AllowCustom = true; this.m_FunctionsListInputData.m_MaxCount = 0; this.m_FunctionsListInputData.m_EnableAutoCompletion = false; this.m_FunctionsListInputData.m_SortAlphabetically = true; this.m_FunctionsListInputData.m_OnSelectCallback = new PopupList.OnSelectCallback(this.ProfilerInstrumentationPopupCallback); this.SetFunctions(functions); this.m_FunctionsList = new PopupList((PopupList.InputData) this.m_FunctionsListInputData); }