-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathModelB.cs
36 lines (29 loc) · 827 Bytes
/
ModelB.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
using Microsoft.VisualBasic;
using ModuleLevel2;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ModuleLevel1.Model
{
internal class ModelB
{
private ModelC _modelC;
private StructA _structA;
public int Value { get; internal set; } = 10;
internal void Initialize(ModelC modelC, StructA structA, ModelD[] arrayOfD)
{
_structA = new StructA();
_structA.Fill(this);
TheEnum theEnu = TheEnum.B;
modelC.RecursiveFuncOnModelC();
}
public void Do()
{
_modelC.MethodOnModelC(this, TheEnum.A);
var lamd = () => _modelC.MethodOnModelCCalledFromLambda(new int[] {3});
lamd();
}
}
}