public System.Collections.Generic.IEnumerable <ISession> GetAllSessions() { if (OperationContext.Current == null) { return(FallbackSessionStorage.GetAllSessions()); } SessionInstanceExtension instance = GetSessionInstanceExtension(); return(instance.GetAllSessions()); }