text: public virtual void Inform(IResourceLoader loader){if (encoderClass.Equals("float", StringComparison.Ordinal)){encoder = new SingleEncoder();}else if (encoderClass.Equals("integer", StringComparison.Ordinal)){encoder = new IntegerEncoder();}else if (encoderClass.Equals("identity", StringComparison.Ordinal)){encoder = new IdentityEncoder();}else{encoder = loader.NewInstance<IPayloadEncoder>(encoderClass );}}