comparison Tools/DocGen/Content/Doc/Aspects/MixinAspect.cs @ 0:f990fcb411a9

Копия текущей версии из github
author cin
date Thu, 27 Mar 2014 21:46:09 +0400
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:f990fcb411a9
1 [BLToolkitGenerated]
2 public sealed class TestClass : MixinAspectTest.TestClass, MixinAspectTest.ITestInterface1, MixinAspectTest.ITestInterface2
3 {
4 int MixinAspectTest.ITestInterface1.TestMethod(int value)
5 {
6 if (base._testInterface1 == null)
7 throw new InvalidOperationException("'ITestInterface1._testInterface1' is not initialized.");
8
9 return base._testInterface1.TestMethod(value);
10 }
11
12 int MixinAspectTest.ITestInterface2.TestMethod1(int value)
13 {
14 // The [link][file]Aspects/MixinOverrideAttribute.cs[/file]MixinOverride[/link] attribute enforces direct method call.
15 //
16 return base.TestMethod1(value);
17 }
18
19 int MixinAspectTest.ITestInterface2.TestMethod2(int value)
20 {
21 if (base.TestInterface2 == null)
22 throw new InvalidOperationException("'ITestInterface2.TestInterface2' is null.");
23
24 return base.TestInterface2.TestMethod2(value);
25 }
26 }