Lucene.Net.Spatial.Queries.SpatialOperation.SpatialOperation C# (CSharp) Méthode

SpatialOperation() protected méthode

protected SpatialOperation ( string name, bool scoreIsMeaningful, bool sourceNeedsArea, bool targetNeedsArea ) : Spatial4n.Core.Shapes
name string
scoreIsMeaningful bool
sourceNeedsArea bool
targetNeedsArea bool
Résultat Spatial4n.Core.Shapes
        protected SpatialOperation(string name, bool scoreIsMeaningful, bool sourceNeedsArea, bool targetNeedsArea)
        {
            this.name = name;
            this.scoreIsMeaningful = scoreIsMeaningful;
            this.sourceNeedsArea = sourceNeedsArea;
            this.targetNeedsArea = targetNeedsArea;
            registry[name] = this;
            registry[name.ToUpper(CultureInfo.InvariantCulture)] = this;
            list.Add(this);
        }