public bool IsCurrent() { return(RoleInstanceId == RoleInstanceUtils.GetCurrentRoleInstanceID()); }
static bool IsRoutingRoleRunning() { return(RoleInstanceUtils.GetRoleInstanceAdressList(RoleEnvironmentConfig.RoutingRoleName).Count() > 0); }
public bool IsCurrent() { return(RoleInstanceId == RoleInstanceUtils.GetCurrentRoleInstanceID()); }
static bool IsRoutingRoleRunning() { return(RoleInstanceUtils.GetRoleInstanceAdressList(RoleEnvironmentConfig.RoutingRoleName).Count() > 0); }