Esempio n. 1
0
        public Column(string name, string type, ClientTypeSignature typeSignature)
        {
            if (String.IsNullOrEmpty(name))
            {
                throw new ArgumentNullException("name");
            }

            if (String.IsNullOrEmpty(type))
            {
                throw new ArgumentNullException("type");
            }

            this.Name          = name;
            this.Type          = type;
            this.TypeSignature = typeSignature;
        }
Esempio n. 2
0
        private static TypeSignature ToTypeSignature(ClientTypeSignature signature)
        {
            IEnumerable <TypeSignatureParameter> Parameters = signature.Arguments.Select(x => LegacyClientTypeSignatureParameterToTypeSignatureParameter(x));

            return(new TypeSignature(signature.RawType, Parameters));
        }