Inheritance: IEventEmitter
示例#1
0
		private IEventEmitter CreateEventEmitter(IEmitter emitter)
		{
			var writer = new WriterEventEmitter(emitter);

			if (IsOptionSet(SerializationOptions.JsonCompatible))
			{
				return new JsonEventEmitter(writer);
			}
			else
			{
				return new TypeAssigningEventEmitter(writer, IsOptionSet(SerializationOptions.Roundtrip));
			}
		}
 protected override IEventEmitter CreateEventEmitter(IEmitter emitter) {
     var writer = new WriterEventEmitter(emitter);
     return new ExRelationEventEmitter(writer);
 }