source/TestCommon/source/FunctionApp.TestCommon/ServiceBus/ResourceProvider/ServiceBusResourceProvider.cs
/// <summary>
/// Build a topic with a name based on <paramref name="topicNamePrefix"/> and <see cref="RandomSuffix"/>.
/// </summary>
/// <param name="topicNamePrefix">The topic name will start with this name.</param>
/// <returns>Topic resource builder.</returns>
Build a topic with a name based on  and .
Build a topic with a name based on and .
public TopicResourceBuilder BuildTopic(string topicNamePrefix)
        {
            var topicName = BuildResourceName(topicNamePrefix);
            var createTopicOptions = new CreateTopicOptions(topicName)
            {
                AutoDeleteOnIdle = AutoDeleteOnIdleTimeout,
            };
            return new TopicResourceBuilder(this, createTopicOptions);
        }
public TopicResourceBuilder BuildTopic ( string topicNamePrefix ) { var topicName = BuildResourceName ( topicNamePrefix ) ; var createTopicOptions = new CreateTopicOptions ( topicName ) { AutoDeleteOnIdle = AutoDeleteOnIdleTimeout , } ; return new TopicResourceBuilder ( this , createTopicOptions ) ; }
Build a topic with a name based on  and .
Build a topic with a name based on and .
Topic resource builder.
Topic resource builder .
topicNamePrefix
string
The topic name will start with this name.
The topic name will start with this name .