/// <summary> /// Gets the referenced value for a RequiredInterfaces of the enclosing ComponentType. /// </summary> public override INotifyValue <IAssemblyContext> GetRequiredInterfacesProxy(IRequiredInterface reference) { if ((reference == null)) { throw new System.ArgumentOutOfRangeException("reference"); } if ((reference.UpperBound == 1)) { return(Observable.As <IModelElement, IAssemblyContext>(this.GetExpressionForReference(reference.Name.ToUpperInvariant()))); } throw new NotSupportedException(); }