view Tools/DocGen/Content/Doc/Aspects/MixinAspect.cs @ 1:8f65451dc28f

Исправлена проблема с фабрикой и выборкой нескольких объектов в linq выражении
author cin
date Fri, 28 Mar 2014 01:04:56 +0400
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);
	}
}