Inheritance: NClass.Core.Event
Beispiel #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);
        }
Beispiel #2
0
        public override Operation Clone(CompositeType newParent)
        {
            var newEvent = new CSharpEvent(newParent);

            newEvent.CopyFrom(this);
            return(newEvent);
        }
Beispiel #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);
        }
Beispiel #4
0
        /// <exception cref="BadSyntaxException">
        /// The <paramref name="name"/> does not fit to the syntax.
        /// </exception>
        public override Event AddEvent()
        {
            Event newEvent = new CSharpEvent(this)
            {
                AccessModifier = AccessModifier.Public,
                IsStatic       = (Modifier == ClassModifier.Static)
            };

            AddOperation(newEvent);
            return(newEvent);
        }
Beispiel #5
0
		public override Operation Clone(CompositeType newParent)
		{
			CSharpEvent newEvent = new CSharpEvent(newParent);
			newEvent.CopyFrom(this);
			return newEvent;
		}
Beispiel #6
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;
			newEvent.IsStatic = (Modifier == ClassModifier.Static);
			
			AddOperation(newEvent);
			return newEvent;
		}
Beispiel #7
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;
		}