public bool TryGet(Type clrType, out IXmlIncludedType includedType) { return(clrType == this.ClrType ? Try.Success(out includedType, this) : includedTypes.TryGet(clrType, out includedType)); }
public bool TryGet(Type clrType, out IXmlKnownType knownType) { return(IsMatch(clrType) ? Try.Success(out knownType, this) : Try.Failure(out knownType)); }
public bool TryGet(Type clrType, out IXmlIncludedType includedType) { return(clrType == this.clrType ? Try.Success(out includedType, this) : Try.Failure(out includedType)); }
public bool TryGet(IXmlIdentity xmlName, out IXmlKnownType knownType) { return(IsMatch(xmlName) ? Try.Success(out knownType, this) : Try.Failure(out knownType)); }
public bool TryGet(XmlName xsiType, out IXmlIncludedType includedType) { return(xsiType == XmlName.Empty || xsiType == this.XsiType ? Try.Success(out includedType, this) : Try.Failure(out includedType)); }