view Tools/DocGen/Content/Doc/Aspects/MixinAspect.cs @ 9:1e85f66cf767 default tip

update bltoolkit
author nickolay
date Thu, 05 Apr 2018 20:53:26 +0300
parents f990fcb411a9
children
line wrap: on
line source

[BLToolkitGenerated]
public sealed class TestClass : MixinAspectTest.TestClass, MixinAspectTest.ITestInterface1, MixinAspectTest.ITestInterface2
{
	int MixinAspectTest.ITestInterface1.TestMethod(int value)
	{
		if (base._testInterface1 == null)
			throw new InvalidOperationException("'ITestInterface1._testInterface1' is not initialized.");

		return base._testInterface1.TestMethod(value);
	}

	int MixinAspectTest.ITestInterface2.TestMethod1(int value)
	{
		// The [link][file]Aspects/MixinOverrideAttribute.cs[/file]MixinOverride[/link] attribute enforces direct method call.
		//
		return base.TestMethod1(value);
	}

	int MixinAspectTest.ITestInterface2.TestMethod2(int value)
	{
		if (base.TestInterface2 == null)
			throw new InvalidOperationException("'ITestInterface2.TestInterface2' is null.");

		return base.TestInterface2.TestMethod2(value);
	}
}