internal override void applyMembers <A>(WSDynamicResponse <A> response)
 {
     try
     {
         if (EntitySchema != null)
         {
             EntitySchema.apply(response);
         }
     }
     catch (Exception e) { Func.RegError(GetType(), e, ref response.iostatus); }
 }
示例#2
0
 internal void apply <A>(WSDynamicResponse <A> response) where A : WSDynamicEntity
 {
     if (response != null)
     {
         try
         {
             if (IOBaseOptions != null && IOBaseOptions.IsValid)
             {
                 IOBaseOptions.apply(response.meta.Request, response.meta.ClientFunctions);
             }
             applyMembers(response);
         }
         catch (Exception e) { Func.RegError(GetType(), e, ref response.iostatus); }
     }
 }
示例#3
0
 internal override void applyMembers <A>(WSDynamicResponse <A> response)
 {
     if (response != null)
     {
         try
         {
             if (Fields != null && Fields.Any())
             {
                 foreach (WSMemberSchema field in Fields)
                 {
                     field.apply(response);
                 }
             }
             if (Filters != null && Filters.Any())
             {
                 foreach (WSMemberSchema field in Filters)
                 {
                     field.apply(response);
                 }
             }
         } catch (Exception e) { Func.RegError(GetType(), e, ref response.iostatus); }
     }
 }
示例#4
0
 internal abstract void applyMembers <A>(WSDynamicResponse <A> response) where A : WSDynamicEntity;
示例#5
0
 internal override void applyMembers <A>(WSDynamicResponse <A> response)
 {
 }