public string GetFullName() { string accessModificatorString = DataAccessModificator.GetString(accessModificator); string typeAttributeString = DataAttribute.GetString(typeAttribute); string typeClassString = DataTypeClass.GetString(typeClass); return ((accessModificatorString != "" ? (accessModificatorString + " ") : "") + (typeAttributeString != "" ? (typeAttributeString + " ") : "") + (typeClassString != "" ? (typeClassString + " ") : "") + GetTypeGenericName(type)); }
public override string GetFullName() { string paramsString = "("; foreach (var parameter in methodInfo.GetParameters()) { if (paramsString != "(") { paramsString += " ,"; } paramsString += (parameter.IsOut ? "out " : parameter.IsIn ? "in " : parameter.ParameterType.IsByRef ? "ref " : "") + AssemblyDataType.GetTypeGenericName(parameter.ParameterType) + " " + parameter.Name; } paramsString += ")"; string typeAttributeString = DataAttribute.GetString(typeAttribute); return (DataAccessModificator.GetString(accessModificator) + " " + (typeAttributeString != "" ? typeAttributeString + " " : "") + AssemblyDataType.GetTypeGenericName(methodInfo.ReturnType) + " " + name + paramsString); }