예제 #1
0
 void Init(string text, string name, ViewConfiguration config)
 {
     Accessibility      = "public";
     GeneratedInterface = new InterfaceGenerator();
     AutoInterfaces     = config.AutoInterfaces;
     DefaultBaseClass   = config.BaseClass;
     Input          = text;
     Name           = name;
     Namespace      = config.DefaultNamespace;
     RenderDirectly = config.RenderDirectly;
     DetectNulls    = config.DetectChainedNulls;
 }
예제 #2
0
        void Init(string text,string name,ViewConfiguration config)
		{
			Accessibility="public";
			GeneratedInterface=new InterfaceGenerator();
			AutoInterfaces=config.AutoInterfaces;
			DefaultBaseClass=config.BaseClass;
            Input=text;
            Name=name;
            Namespace=config.DefaultNamespace;
            RenderDirectly=config.RenderDirectly;
            DetectNulls=config.DetectChainedNulls;
        }