public FakeMvcClass AddFakeClassWithBaseClass(string baseClassName, string className)
		{
			var fakeClass = new FakeMvcClass(className);
			fakeClass.BaseClassFullName = baseClassName;
			FakeClasses.Add(fakeClass);
			return fakeClass;
		}
        public FakeMvcClass AddFakeClass(string fullyQualifiedClassName)
        {
            var fakeClass = new FakeMvcClass(fullyQualifiedClassName);

            FakeClasses.Add(fakeClass);
            return(fakeClass);
        }
        public FakeMvcClass AddModelClassToProject(string fullyQualifiedName)
        {
            var fakeClass = new FakeMvcClass(fullyQualifiedName);

            ModelClasses.Add(fakeClass);
            return(fakeClass);
        }
        public FakeMvcClass AddModelClassToProject(string @namespace, string name)
        {
            var fakeClass = new FakeMvcClass(@namespace, name);

            ModelClasses.Add(fakeClass);
            return(fakeClass);
        }
        public FakeMvcClass AddFakeClassWithBaseClass(string baseClassName, string className)
        {
            var fakeClass = new FakeMvcClass(className);

            fakeClass.BaseClassFullName = baseClassName;
            FakeClasses.Add(fakeClass);
            return(fakeClass);
        }
        public void AddModelClass(string fullyQualifiedClassName)
        {
            var fakeClass = new FakeMvcClass(fullyQualifiedClassName);

            FakeModelClasses.Add(fakeClass);
        }
		public void AddModelClass(string fullyQualifiedClassName)
		{
			var fakeClass = new FakeMvcClass(fullyQualifiedClassName);
			FakeModelClasses.Add(fakeClass);
		}
示例#8
0
		public FakeMvcClass AddModelClassToProject(string fullyQualifiedName)
		{
			var fakeClass = new FakeMvcClass(fullyQualifiedName);
			ModelClasses.Add(fakeClass);
			return fakeClass;
		}
示例#9
0
		public FakeMvcClass AddModelClassToProject(string @namespace, string name)
		{
			var fakeClass = new FakeMvcClass(@namespace, name);
			ModelClasses.Add(fakeClass);
			return fakeClass;
		}
示例#10
0
		public FakeMvcClass AddFakeClass(string fullyQualifiedClassName)
		{
			var fakeClass = new FakeMvcClass(fullyQualifiedClassName);
			FakeClasses.Add(fakeClass);
			return fakeClass;
		}
		void CreateViewModel(string fullyQualifiedClassName)
		{
			fakeClass = new FakeMvcClass(fullyQualifiedClassName);
			viewModel = new MvcModelClassViewModel(fakeClass);	
		}
		void CreateViewModel(string classNamespace, string className)
		{
			fakeClass = new FakeMvcClass(classNamespace, className);
			viewModel = new MvcModelClassViewModel(fakeClass);
		}