Exemplo n.º 1
0
 public bool TryGet(Type clrType, out IXmlIncludedType includedType)
 {
     return(clrType == this.ClrType
       ? Try.Success(out includedType, this)
       : includedTypes.TryGet(clrType, out includedType));
 }
Exemplo n.º 2
0
 public bool TryGet(Type clrType, out IXmlKnownType knownType)
 {
     return(IsMatch(clrType) ? Try.Success(out knownType, this) : Try.Failure(out knownType));
 }
Exemplo n.º 3
0
 public bool TryGet(Type clrType, out IXmlIncludedType includedType)
 {
     return(clrType == this.clrType
                         ? Try.Success(out includedType, this)
                         : Try.Failure(out includedType));
 }
Exemplo n.º 4
0
 public bool TryGet(IXmlIdentity xmlName, out IXmlKnownType knownType)
 {
     return(IsMatch(xmlName) ? Try.Success(out knownType, this) : Try.Failure(out knownType));
 }
Exemplo n.º 5
0
 public bool TryGet(XmlName xsiType, out IXmlIncludedType includedType)
 {
     return(xsiType == XmlName.Empty || xsiType == this.XsiType
                         ? Try.Success(out includedType, this)
                         : Try.Failure(out includedType));
 }