Ejemplo n.º 1
0
        public static Beta AddSource(this Omicron omicron)
        {
            if (omicron == null)
            {
                throw new ArgumentNullException("omicron");
            }

            return(omicron.B = new Beta());
        }
Ejemplo n.º 2
0
        public static Tau AddTau(this Omicron omicron)
        {
            if (omicron == null)
            {
                throw new ArgumentNullException("omicron");
            }

            return(omicron.T = new Tau {
            });
        }
Ejemplo n.º 3
0
        public static Gamma AddNewGamma(this Omicron omicron)
        {
            if (omicron == null)
            {
                throw new ArgumentNullException("omicron");
            }

            return(omicron.G = new Gamma {
                A = new CultureInfo("fr-FR")
            });
        }
Ejemplo n.º 4
0
        public static Gamma AddNewGammaLateBound(this Omicron omicron)
        {
            if (omicron == null)
            {
                throw new ArgumentNullException("omicron");
            }

            return(omicron.G = new GammaExtension {
                A = new CultureInfo("es-ES")
            });
        }
Ejemplo n.º 5
0
        public static Gamma AddNewGamma(this Omicron omicron,
                                        CultureInfo a = null,
                                        double b      = 6.7)
        {
            if (omicron == null)
            {
                throw new ArgumentNullException("omicron");
            }

            return(omicron.G = new Gamma {
                A = a, B = b
            });
        }