public SomeModel(int numRubbers, int numSetsInRubbers)
 {
     // this is just a flimsy example to show how you can create a list of nodes. Notet hat you could nest nodes in other node types but it was hard to gleam from your example how you actually had the code setup
     this.NumSetsInRubbers = new List <SomeOtherType>(numRubbers * numSetsInRubbers);
     for (int i = 0; i < NumSetsInRubbers.Count; i++)
     {
         NumSetsInRubbers[i] = new SomeOtherType();
     }
 }
 public ItemWithNonFakeableCtorParameters(IConnect connection, ICommand command, SomeOtherType other)
 {
     this.connection = connection;
     this.command    = command;
     this.other      = other;
 }
예제 #3
0
partial         void OnSomeOtherTypeChanging(SomeOtherType value);
예제 #4
0
 partial void OnSomeOtherTypeChanging(SomeOtherType value);
예제 #5
0
 protected Base(SomeOtherType dataWrapper)
 {
     var data = dataWrapper.DerivedLogic();
     // base logic using data
 }
예제 #6
0
 public DerivedOne(SomeOtherType otherType) : base(otherType)
 {
예제 #7
0
 public void Invoke()
 {
     Results = YourWebServiceMethod(Data);
 }
예제 #8
0
 public SomeOtherType Function5(SomeOtherType sot)
 {
     throw new NotImplementedException();
 }