/// <summary>
        /// Initialize SupportedChangeActions list.
        /// </summary>
        private void initiazlieSupportedChangeActions()
        {
            var subversionChangeActionHandlers = new SubversionChangeActionHandlers(this);

            m_supportedChangeActions = new Dictionary <Guid, ChangeActionHandler>();
            m_supportedChangeActions.Add(WellKnownChangeActionId.Add, subversionChangeActionHandlers.BasicActionHandler);
            m_supportedChangeActions.Add(WellKnownChangeActionId.Edit, subversionChangeActionHandlers.BasicActionHandler);
            m_supportedChangeActions.Add(WellKnownChangeActionId.Delete, subversionChangeActionHandlers.BasicActionHandler);
            m_supportedChangeActions.Add(WellKnownChangeActionId.Branch, subversionChangeActionHandlers.BasicActionHandler);
            m_supportedChangeActions.Add(WellKnownChangeActionId.Rename, subversionChangeActionHandlers.BasicActionHandler);
            m_supportedChangeActions.Add(WellKnownChangeActionId.Undelete, subversionChangeActionHandlers.BasicActionHandler);
        }
Esempio n. 2
0
        /// <summary>
        /// Initialize SupportedChangeActions list.
        /// </summary>
        private void initiazlieSupportedChangeActions()
        {
            var subversionChangeActionHandlers = new SubversionChangeActionHandlers(this);

            m_supportedChangeActions = new Dictionary <Guid, ChangeActionHandler>();

            //TODO Add the supported change actions
            //m_supportedChangeActions.Add(WellKnownChangeActionId.Add, subversionChangeActionHandlers.BasicActionHandler);
            //m_supportedChangeActions.Add(WellKnownChangeActionId.Edit, subversionChangeActionHandlers.BasicActionHandler);
            //m_supportedChangeActions.Add(WellKnownChangeActionId.Delete, subversionChangeActionHandlers.BasicActionHandler);
            //....
        }