C# Класс EA.Iws.DocumentGeneration.DocumentHelper

Показать файл Открыть проект

Открытые методы

Метод Описание
ReadDocumentStreamShared ( string fileName ) : MemoryStream
ToFormattedContact ( this contactNumber ) : string

Formats Telephone and Fax number for merge document. Ensures non empty numbers starts with + sign. Country code and number is separated by space.

Приватные методы

Метод Описание
GetDocumentDirectory ( ) : string

Gets the location of the document templates assuming they have been compiled to the bin.

Описание методов

ReadDocumentStreamShared() публичный статический Метод

public static ReadDocumentStreamShared ( string fileName ) : MemoryStream
fileName string
Результат System.IO.MemoryStream

ToFormattedContact() публичный статический Метод

Formats Telephone and Fax number for merge document. Ensures non empty numbers starts with + sign. Country code and number is separated by space.
public static ToFormattedContact ( this contactNumber ) : string
contactNumber this Telephone or Fax number (Country code and number separated by - sign).
Результат string