一个模板类

using System;

namespace PublicLib
{
    
/// <summary>
    
/// Text 的摘要说明。
    
/// </summary>

    public class Template
    
{
        
public Template(string TplName)
        
{
             GetConfig( TplName);
ReadTemplate( TplName);
            
        }

        
private void  ReadTemplate(string TplName)
        
{
            
        }

        
private void  GetConfig(string TplName)
        
{
            
        }


        
private void  RepeatParse(string Name)
        
{
            
        }

        
private void Parse(string Name,string Value)
        
{
                
        }

        
public string TemplateCotent
        
{    
            
get
            
{
                
return TemplateCotent;
            }

            
set
            
{
                TemplateCotent
=value;
            }

        }
 
            
    }

}

原文地址:https://www.cnblogs.com/liugod/p/291052.html