Esempio n. 1
0
        public override Operation Clone(CompositeType newParent)
        {
            CSharpProperty property = new CSharpProperty(newParent);

            property.CopyFrom(this);
            return(property);
        }
Esempio n. 2
0
        /// <exception cref="BadSyntaxException">
        /// The <paramref name="name"/> does not fit to the syntax.
        /// </exception>
        public override Property AddProperty()
        {
            Property property = new CSharpProperty(this);

            AddOperation(property);
            return(property);
        }
Esempio n. 3
0
        /// <exception cref="BadSyntaxException">
        /// The <paramref name="name"/> does not fit to the syntax.
        /// </exception>
        public override Property AddProperty()
        {
            Property property = new CSharpProperty(this);

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

            return(property);
        }
Esempio n. 4
0
        /// <exception cref="BadSyntaxException">
        /// The <paramref name="name"/> does not fit to the syntax.
        /// </exception>
        public override Property AddProperty()
        {
            Property property = new CSharpProperty(this)
            {
                AccessModifier = AccessModifier.Public,
                IsStatic       = (Modifier == ClassModifier.Static)
            };

            AddOperation(property);
            return(property);
        }
Esempio n. 5
0
		public override Operation Clone(CompositeType newParent)
		{
			CSharpProperty property = new CSharpProperty(newParent);
			property.CopyFrom(this);
			return property;
		}
Esempio n. 6
0
		/// <exception cref="BadSyntaxException">
		/// The <paramref name="name"/> does not fit to the syntax.
		/// </exception>
		public override Property AddProperty()
		{
			Property property = new CSharpProperty(this);

			property.AccessModifier = AccessModifier.Public;
			property.IsStatic = (Modifier == ClassModifier.Static);
			
			AddOperation(property);
			return property;
		}
Esempio n. 7
0
		/// <exception cref="BadSyntaxException">
		/// The <paramref name="name"/> does not fit to the syntax.
		/// </exception>
		public override Property AddProperty()
		{
			Property property = new CSharpProperty(this);

			AddOperation(property);
			return property;
		}