Infer.NET Documentation
SwitchBlock Class
Infer.NET code documentationMicrosoftResearch.Infer.ModelsSwitchBlock
Microsoft Research, Cambridge
A switch block is a condition block which acts like multiple case blocks ranging over the values of the integer condition variable.
Declaration Syntax
C#Visual BasicVisual C++
public class SwitchBlock : ConditionBlock<int>, 
	HasRange
Public Class SwitchBlock _
	Inherits ConditionBlock(Of Integer) _
	Implements HasRange
public ref class SwitchBlock : public ConditionBlock<int>, 
	HasRange
Members
All MembersMethodsProperties



IconMemberDescription
GetStatement(IStatementCollection%)
Gets a statement for the entire block, and a pointer to its body.
(Overrides ConditionBlock.GetStatement(IStatementCollection%).)
Range
Get switch block's range

Inheritance Hierarchy

Assembly: Infer.Compiler (Module: Infer.Compiler) Version: 2.3.41111.0 (2.3.41111.0)