Exemplo n.º 1
0
 public static SerializeValue[] GetSerializeValues(Type type)
 {
     lock (serializeValues.SyncRoot)
     {
         SerializeValue[] values = (SerializeValue[])serializeValues[type];
         if (values != null)
         {
             return(values);
         }
         MemberValue[] memberValues = MemberValue.GetMemberValues(type, new Type[2] {
             typeof(ServerSerialize), typeof(DataElement)
         }, true, true);
         values = SerializeValue.GetSerializeValues(memberValues);
         serializeValues[type] = values;
         return(values);
     }
 }
 static LoginHandlers()
 {
     MemberValue[] values = MemberValue.GetMemberValues(typeof(DBItemTemplate), typeof(Common.Attributes.DataElement), true, true);
     itemTemplateValues = SerializeValue.GetSerializeValues(values);
 }