コード例 #1
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);
        }
コード例 #2
0
ファイル: CSharpProperty.cs プロジェクト: carlcnx/EnClass
        public override Operation Clone(CompositeType newParent)
        {
            CSharpProperty property = new CSharpProperty(newParent);

            property.CopyFrom(this);
            return(property);
        }
コード例 #3
0
ファイル: CSharpStructure.cs プロジェクト: carlcnx/EnClass
        /// <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);
        }