コード例 #1
0
        public HtmlProxy(FileLocation location)
		{
            _includes = new IResource[0];
            _references = _builds = _includes;
			_location = location;
			_version = ChecksumHelper.GetCombinedChecksum(location.Version, _includes, _builds);
		}
コード例 #2
0
		public ExtendedCSSResource(bool? compress, bool defaultCompress, IResource[] references, IImageResource[] imageIncludes, ICSSResource[] includes, ICSSResource[] builds, FileLocation location, bool hasContent)
		{
			_defaultCompress = defaultCompress;
			_hasContent = hasContent;
			_compress = compress;
			_builds = builds;
			_references = references;
			_includes = includes;
			_imageIncludes = imageIncludes;
			_location = location;
			_version = ChecksumHelper.GetCombinedChecksum(location.Version, _includes, _builds);
		}
コード例 #3
0
		public ProxyImageResource(string mime, FileLocation location) : base(mime, location) { }
コード例 #4
0
		public ProxySwiffClassResource(FileLocation location, string className, IResource swiffCode) 
			: base(location, className, swiffCode)
		{
		}
コード例 #5
0
		public ProxySwiffClassResource(FileLocation location, string className, IResource swiffCode, Dictionary<string, string> parameters)
			: base(location, className, swiffCode, parameters)
		{
		}
コード例 #6
0
		public PlainCSSResource(IResource[] references, FileLocation location, bool hasContent)
		{
			_references = references;
			_location = location;
			_hasContent = hasContent;
		}
コード例 #7
0
		public PlainFlashResource(FileLocation location)
		{
			_location = location;
		}
コード例 #8
0
		public ProxyFlashResource(FileLocation location) : base(location) { }
コード例 #9
0
		public PlainImageResource(string mimeType, FileLocation location)
		{
			_mime = mimeType;
			_location = location;
		}
コード例 #10
0
		private static IJavaScriptCompressor compressor = new YUICompressor(); // new Dean.Edwards.ECMAScriptPacker(Dean.Edwards.ECMAScriptPacker.PackerEncoding.None, false, false);

		public PlainJavaScriptResource(IResource[] references, FileLocation location, bool hasContent)
		{
			_hasContent = hasContent;
			_references = references;
			_location = location;
		}