private void SetupFormatters() { AllRecordFactory all; recordFactory = new MemberRecordFactory [6]; recordFactory [0] = all = new AllRecordFactory(flags); recordFactory [1] = new FieldRecordFactory(flags); recordFactory [2] = new PropertyRecordFactory(flags); recordFactory [3] = new MethodRecordFactory(flags); recordFactory [4] = new ConstructorRecordFactory(flags); recordFactory [5] = new EventRecordFactory(flags); all.Add(recordFactory [1]); all.Add(recordFactory [2]); all.Add(recordFactory [3]); all.Add(recordFactory [4]); all.Add(recordFactory [5]); factory = recordFactory [0]; }
private void SetupFormatters () { AllRecordFactory all; recordFactory = new MemberRecordFactory [6]; recordFactory [0] = all = new AllRecordFactory (flags); recordFactory [1] = new FieldRecordFactory (flags); recordFactory [2] = new PropertyRecordFactory (flags); recordFactory [3] = new MethodRecordFactory (flags); recordFactory [4] = new ConstructorRecordFactory (flags); recordFactory [5] = new EventRecordFactory (flags); all.Add (recordFactory [1]); all.Add (recordFactory [2]); all.Add (recordFactory [3]); all.Add (recordFactory [4]); all.Add (recordFactory [5]); factory = recordFactory [0]; }