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

            AddOperation(newEvent);
            return(newEvent);
        }
Exemplo n.º 2
0
        public override Operation Clone(CompositeType newParent)
        {
            CSharpEvent newEvent = new CSharpEvent(newParent);

            newEvent.CopyFrom(this);
            return(newEvent);
        }
Exemplo n.º 3
0
        /// <exception cref="BadSyntaxException">
        /// The <paramref name="name"/> does not fit to the syntax.
        /// </exception>
        public override Event AddEvent()
        {
            Event newEvent = new CSharpEvent(this);

            newEvent.AccessModifier = AccessModifier.Public;
            AddOperation(newEvent);

            return(newEvent);
        }