public IRosMessageTypeInfo Create(Type messageType)
        {
            var descriptor  = AttributeBasedRosMessageDescriptorFactory.Create(messageType);
            var messageInfo = DescriptorBasedMessageTypeInfo.Create(messageType, descriptor, _typeRegistry);

            return(messageInfo);
        }
 public DescriptorBasedRosServiceInfo(RosType type, DescriptorBasedMessageTypeInfo request, DescriptorBasedMessageTypeInfo response)
 {
     RosType = type ?? throw new ArgumentNullException(nameof(type));
     _request = request ?? throw new ArgumentNullException(nameof(request));
     _response = response ?? throw new ArgumentNullException(nameof(response));
 }
 protected bool Equals(DescriptorBasedMessageTypeInfo other)
 {
     return(Equals(_messageDescriptor, other._messageDescriptor) && Equals(_dependencies, other._dependencies));
 }