- Where Developers Learn, Share, & Build Careers


I want to know whether to set the default subscription provider (subscription provider) through a configuration file via code Impossible .

This is not a direct approach to your question. Instead, implement a custom subscription provider, and use the example class to inject the desire class (for example) when running

For example,

  Public override subscription user gateuser (string username, bool user ifline) {var user = IoC.Resolve & lt; IUserService & gt; (). GetUserByU name (user name, userIsOnline); }    

Comments

Popular posts from this blog

Python SQLAlchemy:AttributeError: Neither 'Column' object nor 'Comparator' object has an attribute 'schema' -

java - How not to audit a join table and related entities using Hibernate Envers? -

mongodb - CakePHP paginator ignoring order, but only for certain values -