当前位置: 首页>>代码示例>>C#>>正文


C# Runtime.ReadObject方法代码示例

本文整理汇总了C#中Runtime.ReadObject方法的典型用法代码示例。如果您正苦于以下问题:C# Runtime.ReadObject方法的具体用法?C# Runtime.ReadObject怎么用?C# Runtime.ReadObject使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在Runtime的用法示例。


在下文中一共展示了Runtime.ReadObject方法的12个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。

示例1:

 void Runtime.Serialization.ICompactSerializable.Deserialize(Runtime.Serialization.IO.CompactReader reader)
 {
     data = (Hashtable)reader.ReadObject();
     transferCompleted = reader.ReadBoolean();
     _payLoadCompilationInformation = reader.ReadObject() as ArrayList;
     this.sendDataSize = reader.ReadInt64();
 }
开发者ID:christrotter,项目名称:NCache,代码行数:7,代码来源:StateTxfrInfo.cs

示例2: Deserialize

 public void Deserialize(Runtime.Serialization.IO.CompactReader reader)
 {
     _serversList = new Dictionary<int, Dom.CacheServer>();
     int length = reader.ReadInt32();
     for (int i = 0; i < length; i++)
     {
         int key = reader.ReadInt32();
         ClientConfiguration.Dom.CacheServer value = reader.ReadObject() as ClientConfiguration.Dom.CacheServer;
         _serversList.Add(key, value);
     }
 }
开发者ID:javithalion,项目名称:NCache,代码行数:11,代码来源:CacheServerList.cs

示例3: Deserialize

 public void Deserialize(Runtime.Serialization.IO.CompactReader reader)
 {
     _updatedCacheConfig = (Alachisoft.NCache.Config.NewDom.CacheServerConfig)reader.ReadObject();
     _affectedNodesList = (ArrayList)reader.ReadObject();
     _affectedPartitions = (ArrayList)reader.ReadObject();
 }
开发者ID:javithalion,项目名称:NCache,代码行数:6,代码来源:NewCacheRegisterationInfo.cs

示例4: Deserialize

 public void Deserialize(Runtime.Serialization.IO.CompactReader reader)
 {
     _eventCounter = reader.ReadInt32();
     _eventUniqueId = (string)reader.ReadObject();
     _operationCounter = reader.ReadInt64();
     _eventType = (EventType)reader.ReadInt32();
     _queryId = (string)reader.ReadObject();
 }
开发者ID:javithalion,项目名称:NCache,代码行数:8,代码来源:EventId.cs

示例5: Deserialize

 public void Deserialize(Runtime.Serialization.IO.CompactReader reader)
 {
     this._cache.Configuration = reader.ReadObject() as CacheServerConfig;
 }
开发者ID:javithalion,项目名称:NCache,代码行数:4,代码来源:CacheInfo.cs

示例6: Deserialize

 public void Deserialize(Runtime.Serialization.IO.CompactReader reader)
 {
     _method = (string)reader.ReadObject();
 }
开发者ID:javithalion,项目名称:NCache,代码行数:4,代码来源:MethodActivity.cs

示例7: Deserialize

 public void Deserialize(Runtime.Serialization.IO.CompactReader reader)
 {
     _typeToFilter = (Type)reader.ReadObject();
 }
开发者ID:javithalion,项目名称:NCache,代码行数:4,代码来源:ClassTypeFilter.cs

示例8: Deserialize

 public void Deserialize(Runtime.Serialization.IO.CompactReader reader)
 {
     _store = (Hashtable)reader.ReadObject();
 }
开发者ID:christrotter,项目名称:NCache,代码行数:4,代码来源:HashStore.cs

示例9: Deserialize

 public void Deserialize(Runtime.Serialization.IO.CompactReader reader)
 {
     this._opCounter = reader.ReadInt64();
     this._opID = (string)reader.ReadObject();
 }
开发者ID:javithalion,项目名称:NCache,代码行数:5,代码来源:OperationID.cs

示例10: Deserialize

        public void Deserialize(Runtime.Serialization.IO.CompactReader reader)
        {
            _clientID = (string)reader.ReadObject();
            _address = (string)reader.ReadObject();
            _activities = (ArrayList)reader.ReadObject();
            _currentActivities = (Hashtable)reader.ReadObject();

        }
开发者ID:christrotter,项目名称:NCache,代码行数:8,代码来源:ClientMonitor.cs

示例11: Deserialize

 public void Deserialize(Runtime.Serialization.IO.CompactReader reader)
 {
     _managementMapping = reader.ReadObject() as ServerMapping;
     _clientMapping = reader.ReadObject() as ServerMapping;  
 }
开发者ID:javithalion,项目名称:NCache,代码行数:5,代码来源:MappingConfiguration.cs

示例12: Deserialize

 public void Deserialize(Runtime.Serialization.IO.CompactReader reader)
 {
     _entry = reader.ReadObject() as CacheEntry;
     _payLoadIndex = reader.ReadInt32();
 }
开发者ID:christrotter,项目名称:NCache,代码行数:5,代码来源:PayloadInfo.cs


注:本文中的Runtime.ReadObject方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。