Esempio n. 1
0
 public static string GetClassName(FieldCollection fc)
 {
     if (fc != null)
     {
         var fcFormat = new FieldCollectionFormat();
         if (!fcFormat.IsEmptyStrField(fc, "ClassName"))
             return fc["ClassName"].GetValueAsString();
     }
     return "";
 }
Esempio n. 2
0
 public static string GetExceptionDescription(FieldCollection fc)
 {
     if (fc != null)
     {
         var fcFormat = new FieldCollectionFormat();
         if (!fcFormat.IsEmptyStrField(fc, "ExceptionDescription"))
             return fc["ExceptionDescription"].GetValueAsString();
     }
     return "";
 }
Esempio n. 3
0
 public static UInt32 GetWAPMessageID(FieldCollection fc)
 {
     if(fc!=null)
     {
         var fcFormat = new FieldCollectionFormat();
         if(!fcFormat.IsEmptyStrField(fc,"MessageID"))
             return (UInt32)fc["MessageID"].GetValueAsInt();
     }
     return 0;
 }
Esempio n. 4
0
        public static int GetExceptionID(FieldCollection fc)
        {
            if (fc != null)
            {
                var fcFormat = new FieldCollectionFormat();
                if (!fcFormat.IsEmptyStrField(fc, "ExceptionID"))
                    return fc["ExceptionID"].GetValueAsInt();
            }

            return 0;
        }