Inheritance: Widgetsphere.Generator.ProjectItemGenerators.BaseDataTransferServiceTemplate
コード例 #1
0
		public override void Generate()
		{
			DataServiceJSPageHelperTemplate template = new DataServiceJSPageHelperTemplate(_model);
			string fullFileName = RELATIVE_OUTPUT_LOCATION + template.FileName;
			ProjectItemGeneratedEventArgs eventArgs = new ProjectItemGeneratedEventArgs(fullFileName, template.FileContent, ProjectName, this, true);
			OnProjectItemGenerated(this, eventArgs);
			ProjectItemGenerationCompleteEventArgs gcEventArgs = new ProjectItemGenerationCompleteEventArgs(this);
			OnGenerationComplete(this, gcEventArgs);
		}
コード例 #2
0
        public override void Generate()
        {
            DataServiceJSPageHelperTemplate template = new DataServiceJSPageHelperTemplate(_model);
            string fullFileName = RELATIVE_OUTPUT_LOCATION + template.FileName;
            ProjectItemGeneratedEventArgs eventArgs = new ProjectItemGeneratedEventArgs(fullFileName, template.FileContent, ProjectName, this, true);

            OnProjectItemGenerated(this, eventArgs);
            ProjectItemGenerationCompleteEventArgs gcEventArgs = new ProjectItemGenerationCompleteEventArgs(this);

            OnGenerationComplete(this, gcEventArgs);
        }