Exemplo n.º 1
0
        /// <summary>
        ///  Constructor Columna por defecto
        /// </summary>
        /// <param name="args"></param>
        public SiteColumn(ParamsSiteColumnBaseExtended args) : this(args.Web,args.Logger)
        {

            Name = (args.AddPrefix) ? string.Concat(Constants.Prefix, args.Name) : args.Name;
            Type = args.FieldType;
            Required = args.Requiered;
            GroupName = args.Group;
            MultiValue = args.MultiValue;
            DisplayName = args.DisplayName;
        }
Exemplo n.º 2
0
 /// <summary>
 /// Constructor Fecha
 /// </summary>
 /// <param name="args"></param>
 /// <param name="date"></param>
 public SiteColumn(ParamsSiteColumnBaseExtended args, TypeDate date)
     : this(args)
 {
     Date = date;
 }
Exemplo n.º 3
0
 /// <summary>
 /// Constructur Columna Currency
 /// </summary>
 /// <param name="args"></param>
 /// <param name="currency"></param>
 public SiteColumn(ParamsSiteColumnBaseExtended args, int currency) :this(args)            
 {
     Currency = currency;
 }
Exemplo n.º 4
0
 /// <summary>
 ///  Constructor Columna Calculada
 /// </summary>
 /// <param name="args"></param>
 /// <param name="formula"></param>
 public SiteColumn(ParamsSiteColumnBaseExtended args, string formula):
     this(args)
 {
     Formula = formula;
 }