コード例 #1
0
		/// <exception cref="BadSyntaxException">
		/// The <paramref name="name"/> does not fit to the syntax.
		/// </exception>
		public override Property AddProperty()
        {
            Property property = new UmlProperty(this);

            AddOperation(property);
            return property;
		}
コード例 #2
0
		public override Operation Clone(CompositeType newParent)
		{
			UmlProperty property = new UmlProperty(newParent);
			property.CopyFrom(this);
			return property;
		}
コード例 #3
0
ファイル: UmlClass.cs プロジェクト: BachelorEric/ModelFirst
		/// <exception cref="BadSyntaxException">
		/// The <paramref name="name"/> does not fit to the syntax.
		/// </exception>
		public override Property AddProperty()
        {
            Property property = new UmlProperty(this);
            property.AccessModifier = AccessModifier.Public;

            AddOperation(property);
            return property;
		}