C# 클래스 SenseNet.Portal.UI.Bundling.Bundle

Class for bunding multiple files into one.
파일 보기 프로젝트 열기: maxpavlov/FlexNet 1 사용 예제들

공개 메소드들

메소드 설명
AddPath ( string path ) : void

Adds a path to the bundle with the order of 0.

AddPath ( string path, int order ) : void

Adds a path to the bundle with the specified order.

Bundle ( ) : System

Creates a new instance of the Bundle class.

Close ( ) : void

Closes the current bundle. It's not possible to reopen.

Combine ( ) : string

Combines the files in this bundle into one.

보호된 메소드들

메소드 설명
GetTextFromPath ( string path ) : string

Gets the text content from a given path and processes it. Override this method if you want to implement custom logic when each file is loaded.

메소드 상세

AddPath() 공개 메소드

Adds a path to the bundle with the order of 0.
public AddPath ( string path ) : void
path string The path to add to the bundle.
리턴 void

AddPath() 공개 메소드

Adds a path to the bundle with the specified order.
public AddPath ( string path, int order ) : void
path string The path to add to the bundle.
order int The specified order.
리턴 void

Bundle() 공개 메소드

Creates a new instance of the Bundle class.
public Bundle ( ) : System
리턴 System

Close() 공개 메소드

Closes the current bundle. It's not possible to reopen.
public Close ( ) : void
리턴 void

Combine() 공개 메소드

Combines the files in this bundle into one.
public Combine ( ) : string
리턴 string

GetTextFromPath() 보호된 메소드

Gets the text content from a given path and processes it. Override this method if you want to implement custom logic when each file is loaded.
protected GetTextFromPath ( string path ) : string
path string The path from which to the content should be retrieved.
리턴 string