Ejemplo n.º 1
0
			/// <summary>
			/// Initializes a new instance of the <see cref="ObjectTypeVerbalizationWrapper"/> class.
			/// </summary>
			/// <param name="objectTypeSnippet">The object type snippet.</param>
			/// <param name="verbalizationObject">The verbalization object.</param>
			public ObjectTypeVerbalizationWrapper(ReportVerbalizationSnippetType objectTypeSnippet, ObjectType verbalizationObject)
			{
				myObjectTypeSnippet = objectTypeSnippet;
				myVerbalizationObject = verbalizationObject;
			}
Ejemplo n.º 2
0
			/// <summary>
			/// Initializes a new instance of FactTypeVerbalizationWrapper
			/// </summary>
			/// <param name="objectTypeList">The object type list.</param>
			/// <param name="headerSnippet">The header snippet.</param>
			/// <param name="footerSnippet">The footer snippet.</param>
			public ObjectTypeListWrapper(IList<ObjectType> objectTypeList, ReportVerbalizationSnippetType headerSnippet, ReportVerbalizationSnippetType footerSnippet)
			{
				myObjectTypeList = objectTypeList;
				myHeaderSnippet = headerSnippet;
				myFooterSnippet = footerSnippet;
			}
Ejemplo n.º 3
0
			/// <summary>
			/// Initializes a new instance of ObjectTypeListReport
			/// </summary>
			/// <param name="model">The model for the report</param>
			/// <param name="objectTypeList">The object type list.</param>
			/// <param name="snippets">The snippets.</param>
			/// <param name="headerSnippet">The header snippet.</param>
			/// <param name="footerSnippet">The footer snippet.</param>
			/// <param name="reportContent">Content of the report.</param>
			public ObjectTypeListReport(
				ORMModel model,
				IList<ObjectType> objectTypeList,
				IVerbalizationSets<ReportVerbalizationSnippetType> snippets,
				ReportVerbalizationSnippetType headerSnippet,
				ReportVerbalizationSnippetType footerSnippet,
				VerbalizationReportContent reportContent)
			{
				myModel = model;
				myObjectTypeList = objectTypeList;
				mySnippets = snippets;
				myHeaderSnippet = headerSnippet;
				myFooterSnippet = footerSnippet;
				myReportContent = reportContent;
			}
Ejemplo n.º 4
0
			/// <summary>
			/// Initializes a new instance of ModelContextWrapper
			/// </summary>
			/// <param name="model">The context model to describe</param>
			/// <param name="openSnippet">The open snippet.</param>
			/// <param name="closeSnippet">The close snippet.</param>
			public ModelContextWrapper(ORMModel model, ReportVerbalizationSnippetType openSnippet, ReportVerbalizationSnippetType closeSnippet)
			{
				myModel = model;
				myOpenSnippet = openSnippet;
				myCloseSnippet = closeSnippet;
			}
Ejemplo n.º 5
0
			/// <summary>
			/// Initializes a new instance of the <see cref="ConstraintVerbalizationWrapper"/> class.
			/// </summary>
			/// <param name="openingSnippet">The opening snippet.</param>
			/// <param name="closingSnippet">The closing snippet.</param>
			/// <param name="verbalizationObject">The verbalization object.</param>
			public ConstraintVerbalizationWrapper(ReportVerbalizationSnippetType openingSnippet, ReportVerbalizationSnippetType closingSnippet, object verbalizationObject)
			{
				myOpeningSnippet = openingSnippet;
				myClosingSnippet = closingSnippet;
				myVerbalizationObject = verbalizationObject;
			}
Ejemplo n.º 6
0
			/// <summary>
			/// Initializes a new instance of GenericSnippetVerbalizer
			/// </summary>
			public GenericSnippetVerbalizer(ReportVerbalizationSnippetType snippet)
			{
				mySnippet = snippet;
			}
Ejemplo n.º 7
0
			/// <summary>
			/// Initializes a new instance of ObjectTypePageFactTypeSection
			/// </summary>
			/// <param name="objectTypeSnippet">The object type snippet.</param>
			/// <param name="factType">The FactType.</param>
			public FactTypePageObjectTypeSection(ReportVerbalizationSnippetType objectTypeSnippet, FactType factType)
			{
				myObjectTypeSnippet = objectTypeSnippet;
				myFactType = factType;
			}