Example #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;
 }
Example #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;
        }