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); } }
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); } } }
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); } } }
internal abstract void applyMembers <A>(WSDynamicResponse <A> response) where A : WSDynamicEntity;
internal override void applyMembers <A>(WSDynamicResponse <A> response) { }