コード例 #1
0
ファイル: Model.cs プロジェクト: arihunta/nclass-mod
 protected virtual void AddDelegate(DelegateType newDelegate)
 {
     AddEntity(newDelegate);
 }
コード例 #2
0
ファイル: DelegateDialog.cs プロジェクト: gbaychev/NClass
		public void ShowDialog(DelegateType parent)
		{
			if (parent != null) {
				this.parent = parent;
				this.Text = string.Format(Strings.ItemsOfType, parent.Name);
				FillList();

				base.ShowDialog();
			}
		}
コード例 #3
0
ファイル: DelegateShape.cs プロジェクト: gbaychev/NClass
		/// <exception cref="ArgumentNullException">
		/// <paramref name="_delegate"/> is null.
		/// </exception>
		internal DelegateShape(DelegateType _delegate) : base(_delegate)
		{
			this._delegate = _delegate;
			UpdateMinSize();
		}
コード例 #4
0
		private void WriteDelegate(DelegateType _delegate)
		{
			WriteLine(_delegate.GetDeclaration());
		}