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;
 }
        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")));
        }
Example #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;
		}
Example #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)
		{ }
Example #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"));
		}
 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)
 {
 }