a.cs

来自「NHibernate NET开发者所需的」· CS 代码 · 共 35 行

CS
35
字号
using System;
using System.Collections.Generic;

namespace NHibernate.Test.GenericTest.Overall
{
	/// <summary>
	/// This class is used in <see cref="Fixture" /> with
	/// <c>int</c> substituted for <typeparamref name="T" />.
	/// </summary>
	public class A<T>
	{
		private int? id;
		private IList<T> collection;
		private T property;

		public virtual int? Id
		{
			get { return id; }
			set { id = value; }
		}

		public virtual T Property
		{
			get { return property; }
			set { property = value; }
		}

		public virtual IList<T> Collection
		{
			get { return collection; }
			set { collection = value; }
		}
	}
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?