/// <summary> /// Gets the current node. /// </summary> /// <param name="objectSpace">The object space.</param> /// <returns>Current replication node</returns> public static ReplicationNode GetCurrentNode(IObjectSpace objectSpace) { return(CurrentNodeHolder.GetCurrentNode(objectSpace)); }
/// <summary> /// Gets the current node. /// </summary> /// <param name="session">The session.</param> /// <returns>Current replication node</returns> public static ReplicationNode GetCurrentNode(Session session) { return(CurrentNodeHolder.GetCurrentNode(session)); }