public static object GetEnvironment(this ContextualObject contextualObject, string key) => contextualObject.Context.GetValue(key);
public EnvironmentData(ContextualObject contextualObject) { View = contextualObject as View; }
public static T GetEnvironment <T>(this ContextualObject contextualObject, string key) => contextualObject.Context.GetValue <T>(key);