C# Class SDL.TridionVSRazorExtension.MainService

Show file Open project: mvlasenko/TridionVSRazorExtension

Public Properties

Property Type Description
Client ICoreService
Project Project
ProjectDestination_Skip bool
RootPath string
StreamDownloadClient StreamDownloadClient
StreamUploadClient StreamUploadClient
TxtLog System.Windows.Controls.TextBlock

Public Methods

Method Description
AddPathItem ( List list, ItemInfo item ) : void
CreateFolder ( MappingInfo mapping, string title, string tcmContainer ) : bool
CreateFolderChain ( MappingInfo mapping, string folderPath, string tcmContainer ) : string
CreateStructureGroup ( MappingInfo mapping, string title, string tcmContainer ) : bool
CreateVSFolder ( string fullPath ) : void
DeleteFiles ( string filePaths, Project project ) : void
EnsureValidClient ( MappingInfo mapping ) : bool
Equals ( string content1, string content2 ) : bool
ExistsItem ( MappingInfo mapping, string tcmContainer, string itemTitle ) : bool
Expand ( this list, MappingInfo mapping, TridionSelectorMode tridionSelectorMode, List tcmItemPath, string selectedTcmId ) : List
FillNamedPath ( this list, MappingInfo mapping ) : List
FillNamedPath ( this tridionFolder, MappingInfo mapping ) : void
FindCheckedOutItems ( MappingInfo mapping ) : List
GetBinaryData ( MappingInfo mapping, string filePath ) : BinaryContentData
GetBluePrint ( MappingInfo mapping, string id ) : List
GetBluePrintBottomTcmId ( MappingInfo mapping, string id ) : string
GetBluePrintItemTcmId ( string id, string publicationId ) : string
GetBluePrintTopLocalizedTcmId ( MappingInfo mapping, string id ) : string
GetBluePrintTopTcmId ( MappingInfo mapping, string id ) : string
GetCategoriesByPublication ( MappingInfo mapping, string tcmPublication ) : List
GetComponent ( MappingInfo mapping, string id ) : ComponentData
GetComponentHistory ( MappingInfo mapping, string tcmId ) : List
GetComponentLink ( string id, string title, string fieldName ) : System.Xml.Linq.XElement
GetComponents ( MappingInfo mapping, string tcmSchema ) : List
GetContainersByPublication ( MappingInfo mapping, string tcmPublication ) : List
GetDiffHtml ( string text1, string text2 ) : string
GetFoldersByParentFolder ( MappingInfo mapping, string tcmFolder ) : List
GetFoldersByPublication ( MappingInfo mapping, string tcmPublication ) : List
GetHttpClient ( MappingInfo mapping ) : LocalCoreServiceClient
GetHttpClient ( string host, string username, string password ) : LocalCoreServiceClient
GetId ( string id ) : string
GetIdPath ( MappingInfo mapping, string id ) : List
GetItemFolder ( MappingInfo mapping, string tcmItem ) : string
GetItemHistory ( MappingInfo mapping, string tcmItem ) : List
GetItemHistory ( string tcmItem ) : List
GetItemTcmId ( MappingInfo mapping, string tcmContainer, string itemTitle ) : string
GetItemType ( string tcmItem ) : ItemType
GetItemTypes ( this tridionSelectorMode ) : ItemType[]
GetItemsByParentContainer ( MappingInfo mapping, string tcmContainer ) : List
GetItemsByParentContainer ( MappingInfo mapping, string tcmContainer, ItemType itemTypes ) : List
GetItemsByParentContainer ( MappingInfo mapping, string tcmContainer, bool recursive ) : List
GetItemsByPublication ( MappingInfo mapping, string tcmPublication ) : List
GetItemsByPublication ( MappingInfo mapping, string tcmPublication, bool recursive ) : List
GetKeywordsByCategory ( MappingInfo mapping, string tcmCategory ) : List
GetLayoutsByParentFolder ( MappingInfo mapping, string tcmFolder ) : List
GetLocalTime ( this serverDate, string serverTimeZoneId ) : System.DateTime
GetMimeTypeId ( MappingInfo mapping, string filePath ) : string
GetMultimediaComponentFileExtension ( MappingInfo mapping, string id ) : string
GetPages ( MappingInfo mapping, string tcmComponent ) : List
GetProcessDefinitionsByPublication ( MappingInfo mapping, string tcmPublication ) : List
GetPublicationTcmId ( string id ) : string
GetPublications ( MappingInfo mapping ) : List
GetPublications ( MappingInfo mapping, string filterItemId ) : List
GetSchemaDateFields ( MappingInfo mapping, string tcmSchema ) : List
GetSchemas ( MappingInfo mapping, string tcmPublication ) : List
GetStreamDownloadClient ( MappingInfo mapping ) : StreamDownloadClient
GetStreamDownloadClient ( string host, string username, string password ) : StreamDownloadClient
GetStreamUploadClient ( MappingInfo mapping ) : StreamUploadClient
GetStreamUploadClient ( string host, string username, string password ) : StreamUploadClient
GetStructureGroupsByParentStructureGroup ( MappingInfo mapping, string tcmSG ) : List
GetStructureGroupsByPublication ( MappingInfo mapping, string tcmPublication ) : List
GetTbbsByParentFolder ( MappingInfo mapping, string tcmFolder ) : List
GetTcpClient ( MappingInfo mapping ) : LocalSessionAwareCoreServiceClient
GetTcpClient ( string host, string username, string password ) : LocalSessionAwareCoreServiceClient
GetUsingCurrentItems ( MappingInfo mapping, string tcmItem ) : List
GetWebDav ( this item ) : string
IsAnyLocalized ( MappingInfo mapping, string id ) : bool
IsCheckedOut ( MappingInfo mapping, string id ) : bool
IsLocalized ( MappingInfo mapping, string id ) : bool
IsShared ( MappingInfo mapping, string id ) : bool
MakeExpandable ( this list ) : List
OnItemExpanded ( ItemInfo item, MappingInfo mapping, TridionSelectorMode tridionSelectorMode ) : void
ProcessFile ( MappingInfo mapping, SDL.TridionVSRazorExtension.ProjectFileInfo file ) : void
ProcessFiles ( string filePaths, Project project ) : void
ProcessFolder ( MappingInfo mapping, ProjectFolderInfo folder ) : void
ProcessFolders ( string folderPaths, Project project ) : void
ProcessHelper ( ) : void
ProcessTridionFolder ( MappingInfo mapping, TridionFolderInfo folder ) : void
ProcessTridionItem ( MappingInfo mapping, ItemInfo item, TridionFolderInfo folder ) : void
ReadItem ( MappingInfo mapping, string id ) : IdentifiableObjectData
ResetClient ( ) : void
ResetDownloadClient ( ) : void
ResetUploadClient ( ) : void
RunFile ( string filePath, Project project, Solution solution ) : void
SaveBinaryFromMultimediaComponent ( MappingInfo mapping, string id, string targetDir ) : void
SaveComponentTemplate ( MappingInfo mapping, string title, string xml, string tcmContainer, string outputFormat, bool dynamic, string &stackTraceMessage ) : bool
SaveConfiguration ( string rootPath, string name, SDL.TridionVSRazorExtension.Common.Configuration.Configuration configuration ) : void
SaveMultimediaComponentFromBinary ( MappingInfo mapping, string id, string filePath, string &stackTraceMessage ) : bool
SaveMultimediaComponentFromBinary ( MappingInfo mapping, string filePath, string title, string tcmContainer, string &stackTraceMessage ) : bool
SavePageTemplate ( MappingInfo mapping, string title, string xml, string tcmContainer, string fileExtension, string &stackTraceMessage ) : bool
SaveRazorLayoutTbb ( MappingInfo mapping, string id, string code, string &stackTraceMessage ) : bool
SaveRazorLayoutTbb ( MappingInfo mapping, string title, string code, string tcmContainer, string &stackTraceMessage ) : bool
SetParent ( this list, ItemInfo parent ) : List
ShowMessage ( string message ) : void
SyncMultimedia ( MappingInfo mapping, SDL.TridionVSRazorExtension.ProjectFileInfo file, string tcmContainer, string serverTimeZoneId ) : void
SyncRazorLayoutTbb ( MappingInfo mapping, string tcmContainer, SDL.TridionVSRazorExtension.ProjectFileInfo file, ProjectFolderRole role, string serverTimeZoneId ) : void
TestConnection ( MappingInfo mapping ) : bool
ToItem ( this dataItem ) : ItemInfo
ToList ( this xml ) : List
ToList ( this xml, ItemType itemType ) : List
TransformMediator2Razor ( string code ) : string
TransformRazor2Mediator ( string code ) : string
UnLocalize ( MappingInfo mapping, string id ) : void
UnLocalizeAll ( MappingInfo mapping, string id ) : void
WriteErrorLog ( string message, string stackTraceMessage = "" ) : void
WriteSuccessLog ( string message ) : void

Private Methods

Method Description
DeleteTridionObject ( MappingInfo mapping, string tcmItem, string parentTcmId, bool currentVersion, string &stackTraceMessage ) : bool
EnsureCredentialsNotEmpty ( MappingInfo mapping ) : void
EnsureValidStreamDownloadClient ( MappingInfo mapping ) : void
EnsureValidStreamUploadClient ( MappingInfo mapping ) : void
GetBinding ( ) : System.ServiceModel.NetTcpBinding
GetBluePrint ( string id ) : List
GetBluePrintBottomTcmId ( string id ) : string
GetBluePrintTopLocalizedTcmId ( string id ) : string
GetBluePrintTopTcmId ( string id ) : string
GetContainerTcmId ( MappingInfo mapping, TridionRole tridionRole, SDL.TridionVSRazorExtension.ProjectFileInfo file ) : string
GetContainerTcmId ( MappingInfo mapping, TridionRole tridionRole, ProjectFolderInfo folder ) : string
GetContainerTcmId ( MappingInfo mapping, TridionRole tridionRole, ProjectFolderInfo folder, string path ) : string
GetContainerTcmId ( MappingInfo mapping, TridionRole tridionRole, string path ) : string
GetHttpBinding ( ) : System.ServiceModel.BasicHttpBinding
GetHttpBinding2 ( ) : System.ServiceModel.BasicHttpBinding
GetHttpBinding3 ( ) : System.ServiceModel.BasicHttpBinding
GetIdPath ( MappingInfo mapping, List list ) : List
GetItemFolder ( string tcmItem ) : string
GetTbbList ( string templateContent ) : List
GetTemplateContent ( List tbbList ) : string
GetUsedItems ( string tcmItem ) : List
GetUsingCurrentItems ( string tcmItem ) : List
GetUsingItems ( string tcmItem ) : List
IncludeProjectItem ( string path ) : void
IsAnyLocalized ( string id ) : bool
IsLocalized ( string id ) : bool
IsShared ( string id ) : bool
RemoveDependency ( MappingInfo mapping, string tcmItem, string tcmDependentItem ) : LinkStatus
RemoveHistory ( string tcmItem, string parentTcmId, string &stackTraceMessage ) : LinkStatus
RemoveTbbFromComponentTemplate ( MappingInfo mapping, string tcmComponentTemplate, string tcmTbb, string &stackTraceMessage ) : LinkStatus
RemoveTbbFromPageTemplate ( MappingInfo mapping, string tcmPageTemplate, string tcmTbb, string &stackTraceMessage ) : LinkStatus
RemoveTbbFromTemplate ( string templateContent, string tcmTbb ) : string
SaveVSBinaryItem ( MappingInfo mapping, string id, string path ) : void
SaveVSItem ( string path, string tridionContent ) : void
UnLocalize ( string id ) : void
UnLocalizeAll ( string id ) : void

Method Details

AddPathItem() public static method

public static AddPathItem ( List list, ItemInfo item ) : void
list List
item ItemInfo
return void

CreateFolder() public static method

public static CreateFolder ( MappingInfo mapping, string title, string tcmContainer ) : bool
mapping MappingInfo
title string
tcmContainer string
return bool

CreateFolderChain() public static method

public static CreateFolderChain ( MappingInfo mapping, string folderPath, string tcmContainer ) : string
mapping MappingInfo
folderPath string
tcmContainer string
return string

CreateStructureGroup() public static method

public static CreateStructureGroup ( MappingInfo mapping, string title, string tcmContainer ) : bool
mapping MappingInfo
title string
tcmContainer string
return bool

CreateVSFolder() public static method

public static CreateVSFolder ( string fullPath ) : void
fullPath string
return void

DeleteFiles() public static method

public static DeleteFiles ( string filePaths, Project project ) : void
filePaths string
project Project
return void

EnsureValidClient() public static method

public static EnsureValidClient ( MappingInfo mapping ) : bool
mapping MappingInfo
return bool

Equals() public static method

public static Equals ( string content1, string content2 ) : bool
content1 string
content2 string
return bool

ExistsItem() public static method

public static ExistsItem ( MappingInfo mapping, string tcmContainer, string itemTitle ) : bool
mapping MappingInfo
tcmContainer string
itemTitle string
return bool

Expand() public static method

public static Expand ( this list, MappingInfo mapping, TridionSelectorMode tridionSelectorMode, List tcmItemPath, string selectedTcmId ) : List
list this
mapping MappingInfo
tridionSelectorMode TridionSelectorMode
tcmItemPath List
selectedTcmId string
return List

FillNamedPath() public static method

public static FillNamedPath ( this list, MappingInfo mapping ) : List
list this
mapping MappingInfo
return List

FillNamedPath() public static method

public static FillNamedPath ( this tridionFolder, MappingInfo mapping ) : void
tridionFolder this
mapping MappingInfo
return void

FindCheckedOutItems() public static method

public static FindCheckedOutItems ( MappingInfo mapping ) : List
mapping MappingInfo
return List

GetBinaryData() public static method

public static GetBinaryData ( MappingInfo mapping, string filePath ) : BinaryContentData
mapping MappingInfo
filePath string
return BinaryContentData

GetBluePrint() public static method

public static GetBluePrint ( MappingInfo mapping, string id ) : List
mapping MappingInfo
id string
return List

GetBluePrintBottomTcmId() public static method

public static GetBluePrintBottomTcmId ( MappingInfo mapping, string id ) : string
mapping MappingInfo
id string
return string

GetBluePrintItemTcmId() public static method

public static GetBluePrintItemTcmId ( string id, string publicationId ) : string
id string
publicationId string
return string

GetBluePrintTopLocalizedTcmId() public static method

public static GetBluePrintTopLocalizedTcmId ( MappingInfo mapping, string id ) : string
mapping MappingInfo
id string
return string

GetBluePrintTopTcmId() public static method

public static GetBluePrintTopTcmId ( MappingInfo mapping, string id ) : string
mapping MappingInfo
id string
return string

GetCategoriesByPublication() public static method

public static GetCategoriesByPublication ( MappingInfo mapping, string tcmPublication ) : List
mapping MappingInfo
tcmPublication string
return List

GetComponent() public static method

public static GetComponent ( MappingInfo mapping, string id ) : ComponentData
mapping MappingInfo
id string
return ComponentData

GetComponentHistory() public static method

public static GetComponentHistory ( MappingInfo mapping, string tcmId ) : List
mapping MappingInfo
tcmId string
return List

GetComponentLink() public static method

public static GetComponentLink ( string id, string title, string fieldName ) : System.Xml.Linq.XElement
id string
title string
fieldName string
return System.Xml.Linq.XElement

GetComponents() public static method

public static GetComponents ( MappingInfo mapping, string tcmSchema ) : List
mapping MappingInfo
tcmSchema string
return List

GetContainersByPublication() public static method

public static GetContainersByPublication ( MappingInfo mapping, string tcmPublication ) : List
mapping MappingInfo
tcmPublication string
return List

GetDiffHtml() public static method

public static GetDiffHtml ( string text1, string text2 ) : string
text1 string
text2 string
return string

GetFoldersByParentFolder() public static method

public static GetFoldersByParentFolder ( MappingInfo mapping, string tcmFolder ) : List
mapping MappingInfo
tcmFolder string
return List

GetFoldersByPublication() public static method

public static GetFoldersByPublication ( MappingInfo mapping, string tcmPublication ) : List
mapping MappingInfo
tcmPublication string
return List

GetHttpClient() public static method

public static GetHttpClient ( MappingInfo mapping ) : LocalCoreServiceClient
mapping MappingInfo
return LocalCoreServiceClient

GetHttpClient() public static method

public static GetHttpClient ( string host, string username, string password ) : LocalCoreServiceClient
host string
username string
password string
return LocalCoreServiceClient

GetId() public static method

public static GetId ( string id ) : string
id string
return string

GetIdPath() public static method

public static GetIdPath ( MappingInfo mapping, string id ) : List
mapping MappingInfo
id string
return List

GetItemFolder() public static method

public static GetItemFolder ( MappingInfo mapping, string tcmItem ) : string
mapping MappingInfo
tcmItem string
return string

GetItemHistory() public static method

public static GetItemHistory ( MappingInfo mapping, string tcmItem ) : List
mapping MappingInfo
tcmItem string
return List

GetItemHistory() public static method

public static GetItemHistory ( string tcmItem ) : List
tcmItem string
return List

GetItemTcmId() public static method

public static GetItemTcmId ( MappingInfo mapping, string tcmContainer, string itemTitle ) : string
mapping MappingInfo
tcmContainer string
itemTitle string
return string

GetItemType() public static method

public static GetItemType ( string tcmItem ) : ItemType
tcmItem string
return ItemType

GetItemTypes() public static method

public static GetItemTypes ( this tridionSelectorMode ) : ItemType[]
tridionSelectorMode this
return ItemType[]

GetItemsByParentContainer() public static method

public static GetItemsByParentContainer ( MappingInfo mapping, string tcmContainer ) : List
mapping MappingInfo
tcmContainer string
return List

GetItemsByParentContainer() public static method

public static GetItemsByParentContainer ( MappingInfo mapping, string tcmContainer, ItemType itemTypes ) : List
mapping MappingInfo
tcmContainer string
itemTypes ItemType
return List

GetItemsByParentContainer() public static method

public static GetItemsByParentContainer ( MappingInfo mapping, string tcmContainer, bool recursive ) : List
mapping MappingInfo
tcmContainer string
recursive bool
return List

GetItemsByPublication() public static method

public static GetItemsByPublication ( MappingInfo mapping, string tcmPublication ) : List
mapping MappingInfo
tcmPublication string
return List

GetItemsByPublication() public static method

public static GetItemsByPublication ( MappingInfo mapping, string tcmPublication, bool recursive ) : List
mapping MappingInfo
tcmPublication string
recursive bool
return List

GetKeywordsByCategory() public static method

public static GetKeywordsByCategory ( MappingInfo mapping, string tcmCategory ) : List
mapping MappingInfo
tcmCategory string
return List

GetLayoutsByParentFolder() public static method

public static GetLayoutsByParentFolder ( MappingInfo mapping, string tcmFolder ) : List
mapping MappingInfo
tcmFolder string
return List

GetLocalTime() public static method

public static GetLocalTime ( this serverDate, string serverTimeZoneId ) : System.DateTime
serverDate this
serverTimeZoneId string
return System.DateTime

GetMimeTypeId() public static method

public static GetMimeTypeId ( MappingInfo mapping, string filePath ) : string
mapping MappingInfo
filePath string
return string

GetMultimediaComponentFileExtension() public static method

public static GetMultimediaComponentFileExtension ( MappingInfo mapping, string id ) : string
mapping MappingInfo
id string
return string

GetPages() public static method

public static GetPages ( MappingInfo mapping, string tcmComponent ) : List
mapping MappingInfo
tcmComponent string
return List

GetProcessDefinitionsByPublication() public static method

public static GetProcessDefinitionsByPublication ( MappingInfo mapping, string tcmPublication ) : List
mapping MappingInfo
tcmPublication string
return List

GetPublicationTcmId() public static method

public static GetPublicationTcmId ( string id ) : string
id string
return string

GetPublications() public static method

public static GetPublications ( MappingInfo mapping ) : List
mapping MappingInfo
return List

GetPublications() public static method

public static GetPublications ( MappingInfo mapping, string filterItemId ) : List
mapping MappingInfo
filterItemId string
return List

GetSchemaDateFields() public static method

public static GetSchemaDateFields ( MappingInfo mapping, string tcmSchema ) : List
mapping MappingInfo
tcmSchema string
return List

GetSchemas() public static method

public static GetSchemas ( MappingInfo mapping, string tcmPublication ) : List
mapping MappingInfo
tcmPublication string
return List

GetStreamDownloadClient() public static method

public static GetStreamDownloadClient ( MappingInfo mapping ) : StreamDownloadClient
mapping MappingInfo
return StreamDownloadClient

GetStreamDownloadClient() public static method

public static GetStreamDownloadClient ( string host, string username, string password ) : StreamDownloadClient
host string
username string
password string
return StreamDownloadClient

GetStreamUploadClient() public static method

public static GetStreamUploadClient ( MappingInfo mapping ) : StreamUploadClient
mapping MappingInfo
return StreamUploadClient

GetStreamUploadClient() public static method

public static GetStreamUploadClient ( string host, string username, string password ) : StreamUploadClient
host string
username string
password string
return StreamUploadClient

GetStructureGroupsByParentStructureGroup() public static method

public static GetStructureGroupsByParentStructureGroup ( MappingInfo mapping, string tcmSG ) : List
mapping MappingInfo
tcmSG string
return List

GetStructureGroupsByPublication() public static method

public static GetStructureGroupsByPublication ( MappingInfo mapping, string tcmPublication ) : List
mapping MappingInfo
tcmPublication string
return List

GetTbbsByParentFolder() public static method

public static GetTbbsByParentFolder ( MappingInfo mapping, string tcmFolder ) : List
mapping MappingInfo
tcmFolder string
return List

GetTcpClient() public static method

public static GetTcpClient ( MappingInfo mapping ) : LocalSessionAwareCoreServiceClient
mapping MappingInfo
return LocalSessionAwareCoreServiceClient

GetTcpClient() public static method

public static GetTcpClient ( string host, string username, string password ) : LocalSessionAwareCoreServiceClient
host string
username string
password string
return LocalSessionAwareCoreServiceClient

GetUsingCurrentItems() public static method

public static GetUsingCurrentItems ( MappingInfo mapping, string tcmItem ) : List
mapping MappingInfo
tcmItem string
return List

GetWebDav() public static method

public static GetWebDav ( this item ) : string
item this
return string

IsAnyLocalized() public static method

public static IsAnyLocalized ( MappingInfo mapping, string id ) : bool
mapping MappingInfo
id string
return bool

IsCheckedOut() public static method

public static IsCheckedOut ( MappingInfo mapping, string id ) : bool
mapping MappingInfo
id string
return bool

IsLocalized() public static method

public static IsLocalized ( MappingInfo mapping, string id ) : bool
mapping MappingInfo
id string
return bool

IsShared() public static method

public static IsShared ( MappingInfo mapping, string id ) : bool
mapping MappingInfo
id string
return bool

MakeExpandable() public static method

public static MakeExpandable ( this list ) : List
list this
return List

OnItemExpanded() public static method

public static OnItemExpanded ( ItemInfo item, MappingInfo mapping, TridionSelectorMode tridionSelectorMode ) : void
item ItemInfo
mapping MappingInfo
tridionSelectorMode TridionSelectorMode
return void

ProcessFile() public static method

public static ProcessFile ( MappingInfo mapping, SDL.TridionVSRazorExtension.ProjectFileInfo file ) : void
mapping MappingInfo
file SDL.TridionVSRazorExtension.ProjectFileInfo
return void

ProcessFiles() public static method

public static ProcessFiles ( string filePaths, Project project ) : void
filePaths string
project Project
return void

ProcessFolder() public static method

public static ProcessFolder ( MappingInfo mapping, ProjectFolderInfo folder ) : void
mapping MappingInfo
folder ProjectFolderInfo
return void

ProcessFolders() public static method

public static ProcessFolders ( string folderPaths, Project project ) : void
folderPaths string
project Project
return void

ProcessHelper() public static method

public static ProcessHelper ( ) : void
return void

ProcessTridionFolder() public static method

public static ProcessTridionFolder ( MappingInfo mapping, TridionFolderInfo folder ) : void
mapping MappingInfo
folder TridionFolderInfo
return void

ProcessTridionItem() public static method

public static ProcessTridionItem ( MappingInfo mapping, ItemInfo item, TridionFolderInfo folder ) : void
mapping MappingInfo
item ItemInfo
folder TridionFolderInfo
return void

ReadItem() public static method

public static ReadItem ( MappingInfo mapping, string id ) : IdentifiableObjectData
mapping MappingInfo
id string
return IdentifiableObjectData

ResetClient() public static method

public static ResetClient ( ) : void
return void

ResetDownloadClient() public static method

public static ResetDownloadClient ( ) : void
return void

ResetUploadClient() public static method

public static ResetUploadClient ( ) : void
return void

RunFile() public static method

public static RunFile ( string filePath, Project project, Solution solution ) : void
filePath string
project Project
solution Solution
return void

SaveBinaryFromMultimediaComponent() public static method

public static SaveBinaryFromMultimediaComponent ( MappingInfo mapping, string id, string targetDir ) : void
mapping MappingInfo
id string
targetDir string
return void

SaveComponentTemplate() public static method

public static SaveComponentTemplate ( MappingInfo mapping, string title, string xml, string tcmContainer, string outputFormat, bool dynamic, string &stackTraceMessage ) : bool
mapping MappingInfo
title string
xml string
tcmContainer string
outputFormat string
dynamic bool
stackTraceMessage string
return bool

SaveConfiguration() public static method

public static SaveConfiguration ( string rootPath, string name, SDL.TridionVSRazorExtension.Common.Configuration.Configuration configuration ) : void
rootPath string
name string
configuration SDL.TridionVSRazorExtension.Common.Configuration.Configuration
return void

SaveMultimediaComponentFromBinary() public static method

public static SaveMultimediaComponentFromBinary ( MappingInfo mapping, string id, string filePath, string &stackTraceMessage ) : bool
mapping MappingInfo
id string
filePath string
stackTraceMessage string
return bool

SaveMultimediaComponentFromBinary() public static method

public static SaveMultimediaComponentFromBinary ( MappingInfo mapping, string filePath, string title, string tcmContainer, string &stackTraceMessage ) : bool
mapping MappingInfo
filePath string
title string
tcmContainer string
stackTraceMessage string
return bool

SavePageTemplate() public static method

public static SavePageTemplate ( MappingInfo mapping, string title, string xml, string tcmContainer, string fileExtension, string &stackTraceMessage ) : bool
mapping MappingInfo
title string
xml string
tcmContainer string
fileExtension string
stackTraceMessage string
return bool

SaveRazorLayoutTbb() public static method

public static SaveRazorLayoutTbb ( MappingInfo mapping, string id, string code, string &stackTraceMessage ) : bool
mapping MappingInfo
id string
code string
stackTraceMessage string
return bool

SaveRazorLayoutTbb() public static method

public static SaveRazorLayoutTbb ( MappingInfo mapping, string title, string code, string tcmContainer, string &stackTraceMessage ) : bool
mapping MappingInfo
title string
code string
tcmContainer string
stackTraceMessage string
return bool

SetParent() public static method

public static SetParent ( this list, ItemInfo parent ) : List
list this
parent ItemInfo
return List

ShowMessage() public static method

public static ShowMessage ( string message ) : void
message string
return void

SyncMultimedia() public static method

public static SyncMultimedia ( MappingInfo mapping, SDL.TridionVSRazorExtension.ProjectFileInfo file, string tcmContainer, string serverTimeZoneId ) : void
mapping MappingInfo
file SDL.TridionVSRazorExtension.ProjectFileInfo
tcmContainer string
serverTimeZoneId string
return void

SyncRazorLayoutTbb() public static method

public static SyncRazorLayoutTbb ( MappingInfo mapping, string tcmContainer, SDL.TridionVSRazorExtension.ProjectFileInfo file, ProjectFolderRole role, string serverTimeZoneId ) : void
mapping MappingInfo
tcmContainer string
file SDL.TridionVSRazorExtension.ProjectFileInfo
role ProjectFolderRole
serverTimeZoneId string
return void

TestConnection() public static method

public static TestConnection ( MappingInfo mapping ) : bool
mapping MappingInfo
return bool

ToItem() public static method

public static ToItem ( this dataItem ) : ItemInfo
dataItem this
return ItemInfo

ToList() public static method

public static ToList ( this xml ) : List
xml this
return List

ToList() public static method

public static ToList ( this xml, ItemType itemType ) : List
xml this
itemType ItemType
return List

TransformMediator2Razor() public static method

public static TransformMediator2Razor ( string code ) : string
code string
return string

TransformRazor2Mediator() public static method

public static TransformRazor2Mediator ( string code ) : string
code string
return string

UnLocalize() public static method

public static UnLocalize ( MappingInfo mapping, string id ) : void
mapping MappingInfo
id string
return void

UnLocalizeAll() public static method

public static UnLocalizeAll ( MappingInfo mapping, string id ) : void
mapping MappingInfo
id string
return void

WriteErrorLog() public static method

public static WriteErrorLog ( string message, string stackTraceMessage = "" ) : void
message string
stackTraceMessage string
return void

WriteSuccessLog() public static method

public static WriteSuccessLog ( string message ) : void
message string
return void

Property Details

Client public static property

public static ICoreService Client
return ICoreService

Project public static property

public static Project Project
return Project

ProjectDestination_Skip public static property

public static bool ProjectDestination_Skip
return bool

RootPath public static property

public static string RootPath
return string

StreamDownloadClient public static property

public static StreamDownloadClient StreamDownloadClient
return StreamDownloadClient

StreamUploadClient public static property

public static StreamUploadClient StreamUploadClient
return StreamUploadClient

TxtLog public static property

public static TextBlock,System.Windows.Controls TxtLog
return System.Windows.Controls.TextBlock