Mercurial > pub > bltoolkit
view Tools/DocGen/Content/Doc/Aspects/MixinAspect.cs @ 0:f990fcb411a9
Копия текущей версии из github
author | cin |
---|---|
date | Thu, 27 Mar 2014 21:46:09 +0400 |
parents | |
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); } }