Exemplo n.º 1
0
        public override string GetFullName()
        {
            string result =
                DataAccessModificator.GetString(accessModificator) + " " +
                AssemblyDataType.GetTypeGenericName(fieldInfo.FieldType) + " " +
                name;

            return(result);
        }
Exemplo n.º 2
0
        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));
        }
Exemplo n.º 3
0
        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);
        }