Bamboo.Prevalence.Collections.List.this C# (CSharp) 메소드

this() 공개 메소드

public this ( int index ) : object
index int
리턴 object
		public object this[int index]
		{
			get
			{
				AcquireReaderLock();
				try
				{
					return _list[index];
				}
				finally
				{
					ReleaseReaderLock();
				}
			}

			set
			{
				AcquireWriterLock();
				try
				{
					_list[index] = value;
				}
				finally
				{
					ReleaseWriterLock();
				}
			}
		}