System.ServiceModel.Description.MessageDescription.IsOfType C# (CSharp) 메소드

IsOfType() 개인적인 메소드

private IsOfType ( Type t ) : bool
t System.Type
리턴 bool
		bool IsOfType (Type t)
		{
			if (direction == MessageDirection.Output)
				return Body != null && Body.ReturnValue != null && Body.ReturnValue.Type == t;
			else
				return Body.Parts.Count == 1 && Body.Parts [0].Type == t;
		}