Пример #1
0
		/// <summary>
		/// Initializes the specified descriptor.
		/// </summary>
		/// <param name="descriptor">The descriptor.</param>
		protected void Initialize(EventArgDescriptor descriptor)
		{
		}
Пример #2
0
		/// <summary>
		/// Initializes a new instance of the <see cref="EventArgs"/> class.
		/// </summary>
		/// <param name="descriptor">The descriptor.</param>
		/// <param name="native">The native.</param>
		protected EventArgs(EventArgDescriptor descriptor, IEventArg native)
			: this(native)
		{
			Native.SetOwner(this);
			Initialize(descriptor);
		}