public Int64FeatureTest() : base(FeatureFactory.CreateInt64(NetTopologySuite.NtsGeometryServices.Instance.CreateGeometryFactory(4326), new FeatureAttributeDefinition { AttributeName = "Attribute1", AttributeDescription = "1st Attribute", AttributeType = typeof(int) }, new FeatureAttributeDefinition { AttributeName = "Attribute2", AttributeDescription = "2nd Attribute", AttributeType = typeof(double) }, new FeatureAttributeDefinition { AttributeName = "Attribute3", AttributeDescription = "3rd Attribute", AttributeType = typeof(string) })) { }
private Feature(FeatureFactory <T> factory, T oid, IGeometry geometry, FeatureAttributes <T> attributes) { _factory = factory; _attributes = attributes; Geometry = geometry; Oid = oid; }
protected FeatureTest(FeatureFactory <TEntity> featureFactory) { _featureFactory = featureFactory; _featureCollection = new FeatureCollection <TEntity>(featureFactory); }
/// <summary> /// Creates a feature /// </summary> /// <param name="factory">The factory that created the feature</param> internal Feature(FeatureFactory <T> factory) { _factory = factory; _attributes = new FeatureAttributes <T>(this); }
public FeatureCollection(FeatureFactory <T> factory) { _factory = factory; }
protected FeatureCollection(FeatureCollection <T> collection) : base(collection) { _factory = (FeatureFactory <T>)collection.Factory; }