Exemple #1
0
	public IEnumerable<ModelProperty> GetModelProperties()
	{
		var properties = new List<ModelProperty>();
		foreach (PropertyInfo propertyInfo in MvcHost.GetViewDataTypeProperties()) {
			properties.Add(new ModelProperty(propertyInfo));
		}
		return properties;
	}
 void CreateViewTemplatePreprocessor()
 {
     mvcHost = new TestableMvcTextTemplateHost();
     templatePreprocessor      = new AspxCSharp.List();
     templatePreprocessor.Host = mvcHost;
 }
		void CreateViewTemplatePreprocessor()
		{
			mvcHost = new TestableMvcTextTemplateHost();
			templatePreprocessor = new AspxCSharp.List();
			templatePreprocessor.Host = mvcHost;
		}