Bundler.Utilities.YUITransform.Process C# (CSharp) Метод

Process() публичный Метод

public Process ( BundleContext context, BundleResponse bundle ) : void
context BundleContext
bundle BundleResponse
Результат void
        public void Process(BundleContext context, BundleResponse bundle)
        {
            bundle.ContentType = this._contentType;

               string content = string.Empty;

               foreach (FileInfo file in bundle.Files)
               {

            using (StreamReader fileReader = new StreamReader(file.FullName)) {
             content +=   fileReader.ReadToEnd();
             fileReader.Close();
            }

               }

               bundle.Content = Compress(content);
        }