C# Class B4BCore.Internal.CdnInfo

This contains the object information and methods for handling a cdn
Datei anzeigen Open project: JonPSmith/MvcUsingBower Class Usage Examples

Private Properties

Property Type Description

Public Methods

Method Description
BuildCdnIncludeString ( string cdnHtmlFormatString, string httpFileUrl, Func getChecksumOfProductionFile ) : string

This creates the CDN html include string using the properties in the json bundle object

CdnInfo ( string bundleName, Newtonsoft.Json.Linq.JObject jObject ) : System
FindMissingPropertiesNeededByHtmlInclude ( string cdnHtmlFormatString ) : IEnumerable

This checks all the properties provided in the CDN object against the replace strings needed by the cdnHtmlFormatString

ToString ( ) : string

Method Details

BuildCdnIncludeString() public method

This creates the CDN html include string using the properties in the json bundle object
public BuildCdnIncludeString ( string cdnHtmlFormatString, string httpFileUrl, Func getChecksumOfProductionFile ) : string
cdnHtmlFormatString string
httpFileUrl string the fully qualified path to the file
getChecksumOfProductionFile Func
return string

CdnInfo() public method

public CdnInfo ( string bundleName, Newtonsoft.Json.Linq.JObject jObject ) : System
bundleName string
jObject Newtonsoft.Json.Linq.JObject
return System

FindMissingPropertiesNeededByHtmlInclude() public method

This checks all the properties provided in the CDN object against the replace strings needed by the cdnHtmlFormatString
public FindMissingPropertiesNeededByHtmlInclude ( string cdnHtmlFormatString ) : IEnumerable
cdnHtmlFormatString string
return IEnumerable

ToString() public method

public ToString ( ) : string
return string