/// <exception cref="BadSyntaxException">
		/// The <paramref name="name"/> does not fit to the syntax.
		/// </exception>
		public override Event AddEvent()
        {
            Event newEvent = new UmlEvent(this);

            AddOperation(newEvent);
            return newEvent;
		}
Exemple #2
0
		public override Operation Clone(CompositeType newParent)
		{
            UmlEvent newEvent = new UmlEvent(newParent);
			newEvent.CopyFrom(this);
			return newEvent;
		}
Exemple #3
0
		/// <exception cref="BadSyntaxException">
		/// The <paramref name="name"/> does not fit to the syntax.
		/// </exception>
		public override Event AddEvent()
        {
            Event newEvent = new UmlEvent(this);

            newEvent.AccessModifier = AccessModifier.Public;
            newEvent.IsStatic = (Modifier == ClassModifier.Static);

            AddOperation(newEvent);
            return newEvent;
		}