public void ServeCxml(HttpContext context, Collection collection, string collectionFileName) { string collectionKey = collection.SetDynamicDzc(collectionFileName); m_collectionCache.Add(collectionKey, collection); context.Response.ContentType = "text/xml"; collection.ToCxml(context.Response.Output); }
public void ServeCxml(HttpContext context, Collection collection) { _collectionCache.Add(collection.CollectionKey, collection); context.Response.ContentType = "text/xml"; collection.ToCxml(context.Response.Output); }