C# 클래스 EA.Iws.DocumentGeneration.DocumentHelper

파일 보기 프로젝트 열기: EnvironmentAgency/prsd-iws

공개 메소드들

메소드 설명
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