public ConnectableLayer(Layer layer) { Contract.Requires(layer != null); Layer = layer; UpperLayers = new LayerLinkCollection(this, LinkType.Upper); LowerLayers = new LayerLinkCollection(this, LinkType.Lower); }
internal ConnectedLayer(int index, Layer layer, NNStructuralElement structuralElementFlags) { Contract.Requires(layer != null); Contract.Requires(index >= 0); Index = index; Layer = layer; StructuralElementFlags = structuralElementFlags; }