public EventCartridge AttachEventCartridge(EventCartridge eventCartridge)
		{
			EventCartridge temp = this.eventCartridge;

			this.eventCartridge = eventCartridge;

			return temp;
		}
		/* ---- InternalWrapperContext --- */

		/// <summary>  returns the user data context that
		/// we are wrapping
		/// </summary>
		/// <summary>  Returns the base context that we are
		/// wrapping. Here, its this, but for other thing
		/// like VM related context contortions, it can
		/// be something else
		/// </summary>
		/* -----  InternalEventContext ---- */
		public EventCartridge AttachEventCartridge(EventCartridge eventCartridge)
		{
			if (internalEventContext != null)
			{
				return internalEventContext.AttachEventCartridge(eventCartridge);
			}

			return null;
		}
Example #3
0
		public EventCartridge AttachEventCartridge(EventCartridge eventCartridge)
		{
			return innerContext.AttachEventCartridge(eventCartridge);
		}