public FeatureSetImpl( GraphFeatures graphFeatures, VariableFeatures variableFeatures, VertexFeatures vertexFeatures, VertexPropertyFeatures vertexPropertyFeatures, EdgeFeatures edgeFeatures, EdgePropertyFeatures edgePropertyFeatures) { GraphFeatures = graphFeatures; VariableFeatures = variableFeatures; VertexFeatures = vertexFeatures; VertexPropertyFeatures = vertexPropertyFeatures; EdgeFeatures = edgeFeatures; EdgePropertyFeatures = edgePropertyFeatures; }
public static bool Supports(this IFeatureSet featureSet, VertexPropertyFeatures vertexPropertyFeatures) => (featureSet.VertexPropertyFeatures & vertexPropertyFeatures) == vertexPropertyFeatures;