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 )."); } }
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 )."); } }