Sha256: 364ae600e6ed2eedc437bb3544113de848990df6a9c3d3bf3fd3dd09cd7adef2

Contents?: true

Size: 371 Bytes

Versions: 3

Compression:

Stored size: 371 Bytes

Contents

using System;

namespace ClassLibrary
{
	public class ClassWithAVirtualProperty : IHaveAProperty
	{
		private string _MyProperty;
		public virtual string MyProperty
		{
			get
			{
				Console.WriteLine("clr getter called");
				return _MyProperty;
			}
			set
			{
				Console.WriteLine("clr setter called");
				_MyProperty = value;
			}
		}
	}
}

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
orangutan-0.0.4 spec/clr/ClassWithAVirtualProperty.cs
orangutan-0.0.2 spec/clr/ClassWithAVirtualProperty.cs
orangutan-0.0.3 spec/clr/ClassWithAVirtualProperty.cs