State GetState(Int32 statenumber, Boolean forcelocal) { if (ForeignManager != null && forcelocal == false) { return(ForeignManager.GetState(statenumber, true)); } return((States.Contains(statenumber) == true) ? States[statenumber] : null); }
private State GetState(int statenumber, bool forcelocal) { if (ForeignManager != null && forcelocal == false) { return(ForeignManager.GetState(statenumber, true)); } return(States.Contains(statenumber) ? States[statenumber] : null); }