Ejemplo n.º 1
0
 private void assertProvisioningOptions(ProvisioningOptions opts)
 {
     if (opts != null && opts.SupportedContexts.Count > 1)
     {
         throw new ArgumentException("Cannot provision a single topic for more than one SIF Context.\r\n" +
                                     "To use Topics with multiple SIF contexts, call TopicFactory.getInstance( ElementDef, SIFContext ).");
     }
 }
Ejemplo n.º 2
0
 private void assertProvisioningOptions(ProvisioningOptions opts)
 {
     if (opts != null && opts.SupportedContexts.Count > 1)
     {
         throw new ArgumentException("Cannot provision a single topic for more than one SIF Context.\r\n" +
                 "To use Topics with multiple SIF contexts, call TopicFactory.getInstance( ElementDef, SIFContext ).");
     }
 }