zoukankan      html  css  js  c++  java
  • 今天写的代码,可惜没有用上,但想想可能以后还能用上吧。

    是关于自定义数据的简单实现,你可以这样使用。
    //define ConnectionString property.
    CustomProperty<string> ConnectionStringProperty =
        
    new CustomProperty<string>("ConnectionStringProperty");
    //create customData
    CustomData data = new CustomData();
    data.SetValue
    <string>(ConnectionStringProperty, "test");
    string v = data.GetValue<string>(ConnectionStringProperty);
    这个代码主要还是演示如何使用DebuggerDisplayDebuggerTypeProxy功能。
    详细的代码如下:
    CustomProperty

    CustomData
  • 相关阅读:
    Dockerfile文件详解
    docker-compose.yml文件
    Linux集中日志服务器rsyslog
    数据库连接池DBUtils使用
    js开关插件使用
    flask基础
    redis系列--深入哨兵集群
    Python算法基础
    redis系列--主从复制以及redis复制演进
    redis系列--redis4.0深入持久化
  • 原文地址:https://www.cnblogs.com/tansm/p/1099151.html
Copyright © 2011-2022 走看看