public Graph(INeoEndpoint endpoint, string graphName, bool defaultGraph, int instance, ILogger <Graph> logger) { _logger = logger; Endpoint = endpoint; GraphName = graphName; DefaultGraph = defaultGraph; Instance = instance; _enabled = _enabledValue; _inFlightCount = 0; // GraphReplicaSet will set this as part of the build process, before any consumer gets an instance of this class GraphReplicaSetLowLevel = default !;
public Graph(INeoEndpoint endpoint, string graphName, bool defaultGraph, int instance, ILogger logger) { _logger = logger; Endpoint = endpoint; GraphName = graphName; DefaultGraph = defaultGraph; Instance = instance; #if REPLICA_DISABLING_NET5_ONLY _inFlightCount = 0; #endif // GraphReplicaSet will set this as part of the build process, before any consumer gets an instance of this class GraphReplicaSetLowLevel = default!;