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
  • 相关阅读:
    优化MySchool数据库(存储过程)
    优化MySchool数据库(事务、视图、索引)
    优化MySchool数据库(四)
    优化MySchool数据库(三)
    SQLAchemy
    python操作mysql
    python队列
    零碎知识
    super深究
    Python操作RabbitMQ
  • 原文地址:https://www.cnblogs.com/tansm/p/1099151.html
Copyright © 2011-2022 走看看