public MediaWriterNode(Type inputType) { _inputType = inputType; Links = new MediaDependency(typeof (ILinkSource<>), _inputType); Projection = new MediaDependency(typeof (IValueProjection<>), _inputType); Document = new MediaDependency(typeof (IMediaDocument)); }
public MediaWriterNode(Type resourceType) { _resourceType = resourceType; Links = new MediaDependency(typeof (ILinkSource<>), _resourceType); Projection = new MediaDependency(typeof (IProjection<>), _resourceType); Document = new MediaDependency(typeof (IMediaDocument)); }
public void SetUp() { theDependency = new MediaDependency(typeof(IDoer <>), typeof(Thing1)); }