Sha256: 43d9aab4559204a8b3ef076ca95edd15c53e6b5a379961c465c28762044da4ca

Contents?: true

Size: 364 Bytes

Versions: 3

Compression:

Stored size: 364 Bytes

Contents

using System;

namespace ClassLibrary
{
	public class ClassWithANonVirtualProperty : IHaveAProperty
	{
		private string _MyProperty;
		public 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/ClassWithANonVirtualProperty.cs
orangutan-0.0.2 spec/clr/ClassWithANonVirtualProperty.cs
orangutan-0.0.3 spec/clr/ClassWithANonVirtualProperty.cs