示例#1
0
 public object MapToIdlConcreateValueType(System.Type clsType)
 {
     lock (m_valTypeSers.SyncRoot) {
         Serializer result = (Serializer)m_valTypeSers[clsType];
         if (result == null)
         {
             result = new ValueObjectSerializer(clsType, this);
             m_valTypeSers[clsType] = result;
         }
         return(result);
     }
 }
 public object MapToIdlConcreateValueType(System.Type clsType) {
     lock(m_valTypeSers.SyncRoot) {
         Serializer result = (Serializer)m_valTypeSers[clsType];
         if (result == null) {
             result = new ValueObjectSerializer(clsType, this);
             m_valTypeSers[clsType] = result;
         }
         return result;
     }
 }