Alba.Jaml.MSInternal.XamlContext.GetXamlType C# (CSharp) Method

GetXamlType() private method

private GetXamlType ( XamlTypeName typeName, bool returnUnknownTypesOnFailure, bool skipVisibilityCheck ) : XamlType
typeName XamlTypeName
returnUnknownTypesOnFailure bool
skipVisibilityCheck bool
return XamlType
        internal XamlType GetXamlType (XamlTypeName typeName, bool returnUnknownTypesOnFailure, bool skipVisibilityCheck)
        {
            XamlType xamlType = this._schemaContext.GetXamlType(typeName);
//            if (((xamlType != null) && !skipVisibilityCheck) && !xamlType.IsVisibleTo(this.LocalAssembly)) {
//                xamlType = null;
//            }
            if ((xamlType != null) || !returnUnknownTypesOnFailure) {
                return xamlType;
            }
            XamlType[] typeArguments = null;
            if (typeName.HasTypeArgs) {
                typeArguments = ArrayHelper.ConvertArrayType(typeName.TypeArguments, this.GetXamlTypeOrUnknown);
            }
            return new XamlType(typeName.Namespace, typeName.Name, typeArguments, this.SchemaContext);
        }

Same methods

XamlContext::GetXamlType ( XamlName typeName ) : XamlType
XamlContext::GetXamlType ( XamlName typeName, bool returnUnknownTypesOnFailure ) : XamlType
XamlContext::GetXamlType ( XamlTypeName typeName ) : XamlType
XamlContext::GetXamlType ( XamlTypeName typeName, bool returnUnknownTypesOnFailure ) : XamlType
XamlContext::GetXamlType ( string ns, string name, IList typeArguments ) : XamlType