Beispiel #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 "";
 }
Beispiel #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 "";
 }
Beispiel #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;
 }
Beispiel #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;
        }