Exemple #1
0
        internal static string ToSerializedValue(this InterNodeCommunicationState value)
        {
            switch (value)
            {
            case InterNodeCommunicationState.Enabled:
                return("Enabled");

            case InterNodeCommunicationState.Disabled:
                return("Disabled");
            }
            return(null);
        }
 /// <summary>
 /// Specifies the interNodeCommunication value for the pool.
 /// </summary>
 /// <param name="interNodeCommunication">The state indicating whether the pool permits direct communication between nodes.</param>
 /// <return>The next stage of the update.</return>
 Pool.Update.IUpdate Pool.Update.IWithAttach.WithInterNodeCommunication(InterNodeCommunicationState interNodeCommunication)
 {
     return(this.WithInterNodeCommunication(interNodeCommunication));
 }
 /// <summary>
 /// Specifies the interNodeCommunication value for the pool.
 /// </summary>
 /// <param name="interNodeCommunication">The state indicating whether the pool permits direct communication between nodes.</param>
 /// <return>The next stage of the definition.</return>
 Pool.Definition.IWithAttach <BatchAccount.Definition.IWithPool> Pool.Definition.IWithAttach <BatchAccount.Definition.IWithPool> .WithInterNodeCommunication(InterNodeCommunicationState interNodeCommunication)
 {
     return(this.WithInterNodeCommunication(interNodeCommunication));
 }
 /// <summary>
 /// Specifies the interNodeCommunication value for the pool.
 /// </summary>
 /// <param name="interNodeCommunication">The state indicating whether the pool permits direct communication between nodes.</param>
 /// <return>The next stage of the definition.</return>
 Pool.UpdateDefinition.IWithAttach <BatchAccount.Update.IUpdate> Pool.UpdateDefinition.IWithAttach <BatchAccount.Update.IUpdate> .WithInterNodeCommunication(InterNodeCommunicationState interNodeCommunication)
 {
     return(this.WithInterNodeCommunication(interNodeCommunication));
 }
Exemple #5
0
 public PoolImpl WithInterNodeCommunication(InterNodeCommunicationState interNodeCommunication)
 {
     Inner.InterNodeCommunication = interNodeCommunication;
     return(this);
 }