Advertisement
Guest User

Untitled

a guest
Nov 23rd, 2018
198
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 1.21 KB | None | 0 0
  1.     public abstract class Field
  2.     {
  3.         public Field(int id, string name)
  4.         {
  5.             ID = id;
  6.             Name = name;
  7.         }
  8.  
  9.         public int ID { get; private set; }
  10.         public string Name { get; private set; }
  11.     }
  12.  
  13.     internal class MetaField : Field
  14.     {
  15.         public MetaField(int id, string name) : base(id, name)
  16.         {
  17.         }
  18.  
  19.         // other stuff
  20.     }
  21.  
  22.     public class IndexField : Field
  23.     {
  24.         public IndexField(int id, string name) : base(id, name)
  25.         {
  26.         }
  27.  
  28.         // other stuff
  29.     }
  30.  
  31.     public class BatchField : Field
  32.     {
  33.         public BatchField(int id, string name) : base(id, name)
  34.         {
  35.         }
  36.  
  37.         // other stuff
  38.     }
  39.  
  40.     public enum AllocationFieldType
  41.     {
  42.         None,
  43.         IndexField,
  44.         BatchField,
  45.         KofaxValue
  46.     }
  47.  
  48.     internal class ReleaseSetupData
  49.     {
  50.         public ReleaseSetupData(IndexField[] indexFields, BatchField[] batchFields)
  51.         {
  52.             IndexFields = indexFields;
  53.             BatchFields = batchFields;
  54.         }
  55.  
  56.         public IndexField[] IndexFields { get; private set; }
  57.         public BatchField[] BatchFields { get; private set; }
  58.     }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement