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; }
partial void OnSomeOtherTypeChanging(SomeOtherType value);
protected Base(SomeOtherType dataWrapper) { var data = dataWrapper.DerivedLogic(); // base logic using data }
public DerivedOne(SomeOtherType otherType) : base(otherType) {
public void Invoke() { Results = YourWebServiceMethod(Data); }
public SomeOtherType Function5(SomeOtherType sot) { throw new NotImplementedException(); }