internal @MemberNodeTypeName(@RemoteExpressionTypeName _parent_ /*LOOP:IntputParameters*/, @RemoteExpressionParameterType.FullName @ParameterName /*LOOP:IntputParameters*/) : base(/*IF:MemberIsReturn*/ ReturnClientNodeId.Id /*IF:MemberIsReturn*/) { this.Parent = _parent_; #region LOOP IntputParameters #region IF IsClientNodeParameter base.setParameter(ref this.@ParameterName, @ParameterName); #endregion IF IsClientNodeParameter #region NOT IsClientNodeParameter this.@ParameterName = @ParameterName; #endregion NOT IsClientNodeParameter #endregion LOOP IntputParameters }
public static fastCSharp.net.tcpClient /*PUSH:Method*/ @MethodGenericName/*PUSH:Method*/ (action <fastCSharp.setup.cSharp.tcpBase.asynchronousReturn /*IF:MethodIsReturn*/ <@MethodReturnType.FullName> /*IF:MethodIsReturn*/> _onReturn_ /*LOOP:MethodParameters*/, @ParameterType.FullName @ParameterName /*LOOP:MethodParameters*/) { bool _isCall_ = false; try { fastCSharp.setup.cSharp.tcpCall.clientPool _client_ = /*PUSH:AutoParameter*/ @DefaultNamespace /*PUSH:AutoParameter*/.@ClientPart /**/.@ServiceName /**/.DefaultPool; #region IF IsInputParameter /*PUSH:AutoParameter*/ @DefaultNamespace /*PUSH:AutoParameter*/.@ParameterPart /**/.@ServiceName /**/.@InputParameterTypeName _inputParameter_ = new /*PUSH:AutoParameter*/ @DefaultNamespace /*PUSH:AutoParameter*/.@ParameterPart /**/.@ServiceName /**/.@InputParameterTypeName { #region IF MethodType.Type.IsGenericType @TypeGenericParameterName = typeof(@type.FullName /**/.@GenericTypeServerName), #endregion IF MethodType.Type.IsGenericType #region IF Method.Method.IsGenericMethod @GenericParameterTypeName = fastCSharp.setup.cSharp.tcpBase.GetGenericParameters(0 /*LOOP:Method.GenericParameters*/, typeof(@FullName) /*LOOP:Method.GenericParameters*/), #endregion IF Method.Method.IsGenericMethod #region IF IsGenericParameterCallback @ReturnTypeName = typeof(@MethodReturnType.FullName), #endregion IF IsGenericParameterCallback #region LOOP MethodParameters #region NOT IsOut @ParameterName = @ParameterName, #endregion NOT IsOut #endregion LOOP MethodParameters }; #endregion IF IsInputParameter #region IF IsOutputParameter /*PUSH:AutoParameter*/ @DefaultNamespace /*PUSH:AutoParameter*/.@ParameterPart /**/.@ServiceName /**/.@OutputParameterTypeName _outputParameter_ = new /*PUSH:AutoParameter*/ @DefaultNamespace /*PUSH:AutoParameter*/.@ParameterPart /**/.@ServiceName /**/.@OutputParameterTypeName(); _isCall_ = true; #region IF MethodReturnType.Type.IsGenericParameter return(_client_.Get/*IF:IsAnyParameter*/ </*IF:IsInputParameter*//*PUSH:AutoParameter*/ @DefaultNamespace /*PUSH:AutoParameter*/.@ParameterPart /**/.@ServiceName /**/.@InputParameterTypeName, /*IF:IsInputParameter*//*PUSH:AutoParameter*/ @DefaultNamespace /*PUSH:AutoParameter*/.@ParameterPart /**/.@ServiceName /**/.@OutputParameterGenericTypeName> /*IF:IsAnyParameter*/ (new fastCSharp.setup.cSharp.tcpBase.asyncReturnGeneric <@MethodReturnType.FullName, /*PUSH:AutoParameter*/ @DefaultNamespace /*PUSH:AutoParameter*/.@ParameterPart /**/.@ServiceName /**/.@OutputParameterGenericTypeName> { OnReturn = _onReturn_ }.CallOnReturn, @MethodCommandName /*IF:IsInputParameter*/, _inputParameter_ /*IF:IsInputParameter*/, (/*PUSH:AutoParameter*/ @DefaultNamespace /*PUSH:AutoParameter*/.@ParameterPart /**/.@ServiceName /**/.@OutputParameterGenericTypeName)(object) _outputParameter_)); #endregion IF MethodReturnType.Type.IsGenericParameter #region NOT MethodReturnType.Type.IsGenericParameter return(_client_.Get/*IF:IsAnyParameter*/ </*IF:IsInputParameter*//*PUSH:AutoParameter*/ @DefaultNamespace /*PUSH:AutoParameter*/.@ParameterPart /**/.@ServiceName /**/.@InputParameterTypeName, /*IF:IsInputParameter*//*PUSH:AutoParameter*/ @DefaultNamespace /*PUSH:AutoParameter*/.@ParameterPart /**/.@ServiceName /**/.@OutputParameterTypeName> /*IF:IsAnyParameter*/ (new fastCSharp.setup.cSharp.tcpBase.asyncReturn <@MethodReturnType.FullName, /*PUSH:AutoParameter*/ @DefaultNamespace /*PUSH:AutoParameter*/.@ParameterPart /**/.@ServiceName /**/.@OutputParameterTypeName> { OnReturn = _onReturn_ }.CallOnReturn, @MethodCommandName /*IF:IsInputParameter*/, _inputParameter_ /*IF:IsInputParameter*/, _outputParameter_)); #endregion NOT MethodReturnType.Type.IsGenericParameter #endregion IF IsOutputParameter #region NOT IsOutputParameter _isCall_ = true; return(_client_.Call/*IF:IsInputParameter*/ </*PUSH:AutoParameter*/ @DefaultNamespace /*PUSH:AutoParameter*/.@ParameterPart /**/.@ServiceName /**/.@InputParameterTypeName> /*IF:IsInputParameter*/ (new fastCSharp.setup.cSharp.tcpBase.asyncReturn { OnReturn = /*NOTE*/ (action <fastCSharp.setup.cSharp.tcpBase.asynchronousReturn>)(object) /*NOTE*/ _onReturn_ }.CallOnReturn, @MethodCommandName /*IF:IsInputParameter*/, _inputParameter_ /*IF:IsInputParameter*/)); #endregion NOT IsOutputParameter } catch (Exception _error_) { fastCSharp.log.Default.Add(_error_, null, false); } finally { if (!_isCall_) { _onReturn_(new fastCSharp.setup.cSharp.tcpBase.asynchronousReturn /*IF:MethodIsReturn*/ <@MethodReturnType.FullName> /*IF:MethodIsReturn*/ { IsReturn = false }); } } return(null); }