ServiceClientGenerator.GeneratorHelpers.HasSuppressedResult C# (CSharp) Method

HasSuppressedResult() public static method

Returns true if the specified operation has been tagged as requiring the usual 'Result' class suppressed (due to a void return type)
public static HasSuppressedResult ( Operation operation ) : bool
operation Operation
return bool
        public static bool HasSuppressedResult(Operation operation)
        {
            return operation.model.Customizations.ResultGenerationSuppressions.Contains(operation.Name);
        }