예제 #1
0
 /// <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));
 }
예제 #2
0
 /// <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));
 }