public static void TrySerializeLayout(ILayoutSerializationService service, string viewName) { if (service != null) { PersistentLayoutHelper.PersistentViewsLayout[viewName] = service.Serialize(); } }
public static void TrySerializeLayout(ILayoutSerializationService service, string viewName) { if (service != null) { PersistentLayoutHelper.PersistentViewsLayout[viewName] = service.Serialize(); } }
public static void TryDeserializeLayout(ILayoutSerializationService service, string viewName) { string state = null; if (service != null && PersistentLayoutHelper.PersistentViewsLayout.TryGetValue(viewName, out state)) { service.Deserialize(state); } }
public static void TryDeserializeLayout(ILayoutSerializationService service, string viewName) { string state = null; if (service != null && PersistentLayoutHelper.PersistentViewsLayout.TryGetValue(viewName, out state)) { service.Deserialize(state); } }