C# 클래스 OurUmbraco.MarketPlace.Providers.MediaProvider

상속: IMediaProvider
파일 보기 프로젝트 열기: umbraco/OurUmbraco 1 사용 예제들

공개 메소드들

메소드 설명
CreateFile ( string fileName, System.Guid listingVersionGuid, System.Guid vendorGuid, System.Web.HttpPostedFile file, System.IO.FileType fileType, List v, string dotNetVersion, bool mediumTrust ) : WikiFile
GetFileById ( int fileId ) : WikiFile

Get an media file by its Id

GetMediaFilesByProjectId ( int projectId ) : List

Get all the files that are associated with this project

GetMediaForProjectByType ( int projectId, System.IO.FileType type ) : IEnumerable
GetVersionsFromString ( string p ) : List
Remove ( WikiFile file ) : void
SaveOrUpdate ( WikiFile file ) : void

Save or update a media file back to the database.

ToVersionString ( List Versions ) : string

비공개 메소드들

메소드 설명
GetFileTypeAsString ( System.IO.FileType file ) : string

메소드 상세

CreateFile() 공개 메소드

public CreateFile ( string fileName, System.Guid listingVersionGuid, System.Guid vendorGuid, System.Web.HttpPostedFile file, System.IO.FileType fileType, List v, string dotNetVersion, bool mediumTrust ) : WikiFile
fileName string
listingVersionGuid System.Guid
vendorGuid System.Guid
file System.Web.HttpPostedFile
fileType System.IO.FileType
v List
dotNetVersion string
mediumTrust bool
리턴 OurUmbraco.Wiki.BusinessLogic.WikiFile

GetFileById() 공개 메소드

Get an media file by its Id
public GetFileById ( int fileId ) : WikiFile
fileId int
리턴 OurUmbraco.Wiki.BusinessLogic.WikiFile

GetMediaFilesByProjectId() 공개 메소드

Get all the files that are associated with this project
public GetMediaFilesByProjectId ( int projectId ) : List
projectId int
리턴 List

GetMediaForProjectByType() 공개 메소드

public GetMediaForProjectByType ( int projectId, System.IO.FileType type ) : IEnumerable
projectId int
type System.IO.FileType
리턴 IEnumerable

GetVersionsFromString() 공개 정적인 메소드

public static GetVersionsFromString ( string p ) : List
p string
리턴 List

Remove() 공개 메소드

public Remove ( WikiFile file ) : void
file OurUmbraco.Wiki.BusinessLogic.WikiFile
리턴 void

SaveOrUpdate() 공개 메소드

Save or update a media file back to the database.
public SaveOrUpdate ( WikiFile file ) : void
file OurUmbraco.Wiki.BusinessLogic.WikiFile
리턴 void

ToVersionString() 공개 정적인 메소드

public static ToVersionString ( List Versions ) : string
Versions List
리턴 string