Demo entry 6643930

TestCode

   

Submitted by slf on Sep 30, 2017 at 03:40
Language: ANTLR With C# Target. Code size: 587 Bytes.

    public string this[string key]  
            {  
                get  
                {  
                    var str = "";  
                    KeyValues.TryGetValue(key, out str);  
                    return str;  
                }  
            }  
      
            /// <summary>  
            /// 所有的配置Key(包含Common配置、私有配置、系统配置)  
            /// </summary>  
            public IEnumerable<string> AllKeys  
            {  
                get  
                {  
                    return KeyValues.Keys;  
                }  
            }  

This snippet took 0.00 seconds to highlight.

Back to the Entry List or Home.

Delete this entry (admin only).