Mono.CSharp.Switch.FindSection C# (CSharp) 메소드

FindSection() 개인적인 메소드

private FindSection ( SwitchLabel label ) : SwitchSection
label SwitchLabel
리턴 SwitchSection
		SwitchSection FindSection (SwitchLabel label)
		{
			foreach (SwitchSection ss in Sections){
				foreach (SwitchLabel sl in ss.Labels){
					if (label == sl)
						return ss;
				}
			}

			return null;
		}