public RxTypeInfo FindOrBuildXType(Compiler context, Type type, string xid) { RxMemberInfo xMember; RxTypeInfo xType; if (Project.TryGetMember(xid, out xMember) && (xType = xMember as RxTypeInfo) != null) return xType; XElement commentElement = GetCommentElement(context, xid); xType = new RxTypeInfo(); xType.Build(context, this, type, commentElement, xid); Project.AddMember(xType); return xType; }
public void SetUri(RxTypeInfo typeInfo, string relativeUri) { RelativeUri = new Uri(relativeUri); this.relativeUri = relativeUri; base.SetUri(typeInfo.AbsoluteUri, relativeUri); }