/// <summary> /// Initializes a new instance of the <see cref="CommandService"/> class. /// </summary> /// <param name="treeAccessor">The command tree accessor.</param> /// <param name="typeParserService">The parser service.</param> public CommandService ( CommandTreeAccessor treeAccessor, TypeParserService typeParserService ) { this.TreeAccessor = treeAccessor; _typeParserService = typeParserService; }
/// <summary> /// Initializes a new instance of the <see cref="CollectionParser"/> class. /// </summary> /// <param name="typeParserService">The type parser service.</param> /// <param name="services">The available services.</param> public CollectionParser(TypeParserService typeParserService, IServiceProvider services) { _typeParserService = typeParserService; _services = services; }
/// <summary> /// Initializes a new instance of the <see cref="NullableStructParser"/> class. /// </summary> /// <param name="typeParserService">The type parser service.</param> /// <param name="services">The available services.</param> public NullableStructParser(TypeParserService typeParserService, IServiceProvider services) { _typeParserService = typeParserService; _services = services; }