Init() public method

Standard member for IXCoreColleague. The configurationParameters are not currently used.
public Init ( XCore.Mediator mediator, XmlNode configurationParameters ) : void
mediator XCore.Mediator
configurationParameters System.Xml.XmlNode
return void
コード例 #1
0
        private MacroListener MakeMacroListenerWithCache()
        {
            m_Mediator = new Mediator();
            m_Mediator.PropertyTable.SetProperty("cache", Cache);
            var ml = new MacroListener();

            ml.Init(m_Mediator, null);
            return(ml);
        }
コード例 #2
0
        private MacroListener MakeMacroListenerWithCache()
        {
            m_mediator      = new Mediator();
            m_propertyTable = new PropertyTable(m_mediator);
            m_propertyTable.SetProperty("cache", Cache, true);
            var ml = new MacroListener();

            ml.Init(m_mediator, m_propertyTable, null);
            return(ml);
        }
コード例 #3
0
		private MacroListener MakeMacroListenerWithCache()
		{
			m_Mediator = new Mediator();
			m_Mediator.PropertyTable.SetProperty("cache", Cache);
			var ml = new MacroListener();
			ml.Init(m_Mediator, null);
			return ml;
		}