protected Type GetAdapterType(object adaptee) { if (adaptee == null) { throw new ArgumentNullException("adaptee"); } return(implementation.GetAdapterType(adaptee, this.role)); }
public void GetAdapterType_default_adapter_factory_composed_of_all() { IAdapterFactory fc = AdapterFactory.Default; Assert.Null(fc.GetAdapterType(typeof(IProperties), "StreamingSource")); }