예제 #1
0
        private static SubscriptionInfo GetSubscription(WcfClientFactory clientFactory)
        {
            var serviceBusManager = clientFactory.Get <IServiceBusManager>();
            var eventSource       = ConfigurationManager.AppSettings["SubscriptionInfo.EventSource"];
            var userSystemIdent   = ConfigurationManager.AppSettings["SubscriptionInfo.UserSystemIdent"];

            return(serviceBusManager.AddOrGetSubscription(eventSource, userSystemIdent));
        }