Ejemplo n.º 1
0
 protected DataSetInfo(DataSetID id, Format format, string name, bool mandatory, bool repeatable, uint min, uint max, string description, string xmpname)
 {
     ID          = id;
     Name        = name;
     Description = description;
     Format      = format;
     Mandatory   = mandatory;
     Repeatable  = repeatable;
     MinSize     = min;
     MaxSize     = max;
     XmpName     = xmpname;
 }
Ejemplo n.º 2
0
        public static DataSetInfo FindInfo(DataSetID id)
        {
            foreach (DataSetInfo info in datasets)
            {
                if (id == (DataSetID)info.ID)
                {
                    return(info);
                }
            }

            return(new DataSetInfo(id, Format.Unknown, "Unknown", false, false, 3, 64,
                                   Catalog.GetString("Unknown IIM DataSet")));
        }
Ejemplo n.º 3
0
		protected DataSetInfo (DataSetID id, Format format, string name, bool mandatory, bool repeatable, uint min, uint max, string description, string xmpname)
		{
			ID = id;
			Name = name;
			Description = description;
			Format = format;
		        Mandatory = mandatory;
			Repeatable = repeatable;
			MinSize = min;
			MaxSize = max;
			XmpName = xmpname;
		}
Ejemplo n.º 4
0
		protected DataSetInfo (DataSetID id, Format format, string name, bool mandatory, bool repeatable, uint min, uint max, string description) : this (id, format, name, mandatory, repeatable, min, max, description, null)
		{ }
Ejemplo n.º 5
0
		public static DataSetInfo FindInfo (DataSetID id)
		{
			foreach (DataSetInfo info in datasets)
				if (id == (DataSetID)info.ID)
					return info;
						
			return new DataSetInfo (id, Format.Unknown, "Unknown", false, false, 3, 64,
						Catalog.GetString ("Unknown IIM DataSet"));
		}
Ejemplo n.º 6
0
 protected DataSetInfo(DataSetID id, Format format, string name, bool mandatory, bool repeatable, uint min, uint max, string description) : this(id, format, name, mandatory, repeatable, min, max, description, null)
 {
 }