AODL.Document.Export.Html.OpenDocumentHtmlExporter.GetTemplate C# (CSharp) Метод

GetTemplate() приватный Метод

Gets the template.
private GetTemplate ( ) : string
Результат string
		private string GetTemplate()
		{
			try
			{
				Assembly ass		= Assembly.GetExecutingAssembly();
				Stream str			= ass.GetManifestResourceStream("AODL.Resources.OD.htmltemplate.html");

				string text			= null;
				using (StreamReader sr = new StreamReader(str)) 
				{
					String line		= null;
					while ((line = sr.ReadLine()) != null) 
					{
						text		+= line+"\n";
					}
					sr.Close();
				}
				str.Close();

				return text;
			}
			catch(Exception)
			{
				throw;
			}
		}