text: ### YamlMime:ManagedReference
  items:
  - uid: McMaster.Extensions.CommandLineUtils.Conventions.ValidationErrorMethodConvention
    commentId: T:McMaster.Extensions.CommandLineUtils.Conventions.ValidationErrorMethodConvention
    id: ValidationErrorMethodConvention
    parent: McMaster.Extensions.CommandLineUtils.Conventions
    children:
    - McMaster.Extensions.CommandLineUtils.Conventions.ValidationErrorMethodConvention.Apply(McMaster.Extensions.CommandLineUtils.Conventions.ConventionContext)
    langs:
    - csharp
    - vb
    name: ValidationErrorMethodConvention
    nameWithType: ValidationErrorMethodConvention
    fullName: McMaster.Extensions.CommandLineUtils.Conventions.ValidationErrorMethodConvention
    type: Class
    source:
      remote:
        path: src/CommandLineUtils/Conventions/ValidationErrorMethodConvention.cs
        branch: master
        repo: https://github.com/natemcmaster/CommandLineUtils.git
      id: ValidationErrorMethodConvention
      path: ../src/CommandLineUtils/Conventions/ValidationErrorMethodConvention.cs
      startLine: 11
    assemblies:
    - McMaster.Extensions.CommandLineUtils
    namespace: McMaster.Extensions.CommandLineUtils.Conventions
    summary: "\nInvokes a method named <code>OnValidationError</code> on the model type of <xref href=\"McMaster.Extensions.CommandLineUtils.CommandLineApplication%601\" data-throw-if-not-resolved=\"false\"></xref>\nto handle validation errors.\n"
    example: []
    syntax:
      content: 'public class ValidationErrorMethodConvention : IConvention'
      content.vb: >-
        Public Class ValidationErrorMethodConvention
            Implements IConvention
    inheritance:
    - System.Object
    implements:
    - McMaster.Extensions.CommandLineUtils.Conventions.IConvention
    inheritedMembers:
    - System.Object.Equals(System.Object)
    - System.Object.Equals(System.Object,System.Object)
    - System.Object.GetHashCode
    - System.Object.GetType
    - System.Object.MemberwiseClone
    - System.Object.ReferenceEquals(System.Object,System.Object)
    - System.Object.ToString
    modifiers.csharp:
    - public
    - class
    modifiers.vb:
    - Public
    - Class
  - uid: McMaster.Extensions.CommandLineUtils.Conventions.ValidationErrorMethodConvention.Apply(McMaster.Extensions.CommandLineUtils.Conventions.ConventionContext)
    commentId: M:McMaster.Extensions.CommandLineUtils.Conventions.ValidationErrorMethodConvention.Apply(McMaster.Extensions.CommandLineUtils.Conventions.ConventionContext)
    id: Apply(McMaster.Extensions.CommandLineUtils.Conventions.ConventionContext)
    parent: McMaster.Extensions.CommandLineUtils.Conventions.ValidationErrorMethodConvention
    langs:
    - csharp
    - vb
    name: Apply(ConventionContext)
    nameWithType: ValidationErrorMethodConvention.Apply(ConventionContext)
    fullName: McMaster.Extensions.CommandLineUtils.Conventions.ValidationErrorMethodConvention.Apply(McMaster.Extensions.CommandLineUtils.Conventions.ConventionContext)
    type: Method
    source:
      remote:
        path: src/CommandLineUtils/Conventions/ValidationErrorMethodConvention.cs
        branch: master
        repo: https://github.com/natemcmaster/CommandLineUtils.git
      id: Apply
      path: ../src/CommandLineUtils/Conventions/ValidationErrorMethodConvention.cs
      startLine: 14
    assemblies:
    - McMaster.Extensions.CommandLineUtils
    namespace: McMaster.Extensions.CommandLineUtils.Conventions
    summary: "\nApply the convention.\n"
    example: []
    syntax:
      content: public virtual void Apply(ConventionContext context)
      parameters:
      - id: context
        type: McMaster.Extensions.CommandLineUtils.Conventions.ConventionContext
        description: The context in which the convention is applied.
      content.vb: Public Overridable Sub Apply(context As ConventionContext)
    overload: McMaster.Extensions.CommandLineUtils.Conventions.ValidationErrorMethodConvention.Apply*
    implements:
    - McMaster.Extensions.CommandLineUtils.Conventions.IConvention.Apply(McMaster.Extensions.CommandLineUtils.Conventions.ConventionContext)
    modifiers.csharp:
    - public
    - virtual
    modifiers.vb:
    - Public
    - Overridable
  references:
  - uid: McMaster.Extensions.CommandLineUtils.CommandLineApplication`1
    commentId: T:McMaster.Extensions.CommandLineUtils.CommandLineApplication`1
    name: CommandLineApplication<TModel>
    nameWithType: CommandLineApplication<TModel>
    fullName: McMaster.Extensions.CommandLineUtils.CommandLineApplication<TModel>
    nameWithType.vb: CommandLineApplication(Of TModel)
    fullName.vb: McMaster.Extensions.CommandLineUtils.CommandLineApplication(Of TModel)
    name.vb: CommandLineApplication(Of TModel)
    spec.csharp:
    - uid: McMaster.Extensions.CommandLineUtils.CommandLineApplication`1
      name: CommandLineApplication
      nameWithType: CommandLineApplication
      fullName: McMaster.Extensions.CommandLineUtils.CommandLineApplication
    - name: <
      nameWithType: <
      fullName: <
    - name: TModel
      nameWithType: TModel
      fullName: TModel
    - name: '>'
      nameWithType: '>'
      fullName: '>'
    spec.vb:
    - uid: McMaster.Extensions.CommandLineUtils.CommandLineApplication`1
      name: CommandLineApplication
      nameWithType: CommandLineApplication
      fullName: McMaster.Extensions.CommandLineUtils.CommandLineApplication
    - name: '(Of '
      nameWithType: '(Of '
      fullName: '(Of '
    - name: TModel
      nameWithType: TModel
      fullName: TModel
    - name: )
      nameWithType: )
      fullName: )
  - uid: McMaster.Extensions.CommandLineUtils.Conventions
    commentId: N:McMaster.Extensions.CommandLineUtils.Conventions
    name: McMaster.Extensions.CommandLineUtils.Conventions
    nameWithType: McMaster.Extensions.CommandLineUtils.Conventions
    fullName: McMaster.Extensions.CommandLineUtils.Conventions
  - uid: System.Object
    commentId: T:System.Object
    parent: System
    isExternal: true
    name: Object
    nameWithType: Object
    fullName: System.Object
  - uid: McMaster.Extensions.CommandLineUtils.Conventions.IConvention
    commentId: T:McMaster.Extensions.CommandLineUtils.Conventions.IConvention
    parent: McMaster.Extensions.CommandLineUtils.Conventions
    name: IConvention
    nameWithType: IConvention
    fullName: McMaster.Extensions.CommandLineUtils.Conventions.IConvention
  - uid: System.Object.Equals(System.Object)
    commentId: M:System.Object.Equals(System.Object)
    parent: System.Object
    isExternal: true
    name: Equals(Object)
    nameWithType: Object.Equals(Object)
    fullName: System.Object.Equals(System.Object)
    spec.csharp:
    - uid: System.Object.Equals(System.Object)
      name: Equals
      nameWithType: Object.Equals
      fullName: System.Object.Equals
      isExternal: true
    - name: (
      nameWithType: (
      fullName: (
    - uid: System.Object
      name: Object
      nameWithType: Object
      fullName: System.Object
      isExternal: true
    - name: )
      nameWithType: )
      fullName: )
    spec.vb:
    - uid: System.Object.Equals(System.Object)
      name: Equals
      nameWithType: Object.Equals
      fullName: System.Object.Equals
      isExternal: true
    - name: (
      nameWithType: (
      fullName: (
    - uid: System.Object
      name: Object
      nameWithType: Object
      fullName: System.Object
      isExternal: true
    - name: )
      nameWithType: )
      fullName: )
  - uid: System.Object.Equals(System.Object,System.Object)
    commentId: M:System.Object.Equals(System.Object,System.Object)
    parent: System.Object
    isExternal: true
    name: Equals(Object, Object)
    nameWithType: Object.Equals(Object, Object)
    fullName: System.Object.Equals(System.Object, System.Object)
    spec.csharp:
    - uid: System.Object.Equals(System.Object,System.Object)
      name: Equals
      nameWithType: Object.Equals
      fullName: System.Object.Equals
      isExternal: true
    - name: (
      nameWithType: (
      fullName: (
    - uid: System.Object
      name: Object
      nameWithType: Object
      fullName: System.Object
      isExternal: true
    - name: ', '
      nameWithType: ', '
      fullName: ', '
    - uid: System.Object
      name: Object
      nameWithType: Object
      fullName: System.Object
      isExternal: true
    - name: )
      nameWithType: )
      fullName: )
    spec.vb:
    - uid: System.Object.Equals(System.Object,System.Object)
      name: Equals
      nameWithType: Object.Equals
      fullName: System.Object.Equals
      isExternal: true
    - name: (
      nameWithType: (
      fullName: (
    - uid: System.Object
      name: Object
      nameWithType: Object
      fullName: System.Object
      isExternal: true
    - name: ', '
      nameWithType: ', '
      fullName: ', '
    - uid: System.Object
      name: Object
      nameWithType: Object
      fullName: System.Object
      isExternal: true
    - name: )
      nameWithType: )
      fullName: )
  - uid: System.Object.GetHashCode
    commentId: M:System.Object.GetHashCode
    parent: System.Object
    isExternal: true
    name: GetHashCode()
    nameWithType: Object.GetHashCode()
    fullName: System.Object.GetHashCode()
    spec.csharp:
    - uid: System.Object.GetHashCode
      name: GetHashCode
      nameWithType: Object.GetHashCode
      fullName: System.Object.GetHashCode
      isExternal: true
    - name: (
      nameWithType: (
      fullName: (
    - name: )
      nameWithType: )
      fullName: )
    spec.vb:
    - uid: System.Object.GetHashCode
      name: GetHashCode
      nameWithType: Object.GetHashCode
      fullName: System.Object.GetHashCode
      isExternal: true
    - name: (
      nameWithType: (
      fullName: (
    - name: )
      nameWithType: )
      fullName: )
  - uid: System.Object.GetType
    commentId: M:System.Object.GetType
    parent: System.Object
    isExternal: true
    name: GetType()
    nameWithType: Object.GetType()
    fullName: System.Object.GetType()
    spec.csharp:
    - uid: System.Object.GetType
      name: GetType
      nameWithType: Object.GetType
      fullName: System.Object.GetType
      isExternal: true
    - name: (
      nameWithType: (
      fullName: (
    - name: )
      nameWithType: )
      fullName: )
    spec.vb:
    - uid: System.Object.GetType
      name: GetType
      nameWithType: Object.GetType
      fullName: System.Object.GetType
      isExternal: true
    - name: (
      nameWithType: (
      fullName: (
    - name: )
      nameWithType: )
      fullName: )
  - uid: System.Object.MemberwiseClone
    commentId: M:System.Object.MemberwiseClone
    parent: System.Object
    isExternal: true
    name: MemberwiseClone()
    nameWithType: Object.MemberwiseClone()
    fullName: System.Object.MemberwiseClone()
    spec.csharp:
    - uid: System.Object.MemberwiseClone
      name: MemberwiseClone
      nameWithType: Object.MemberwiseClone
      fullName: System.Object.MemberwiseClone
      isExternal: true
    - name: (
      nameWithType: (
      fullName: (
    - name: )
      nameWithType: )
      fullName: )
    spec.vb:
    - uid: System.Object.MemberwiseClone
      name: MemberwiseClone
      nameWithType: Object.MemberwiseClone
      fullName: System.Object.MemberwiseClone
      isExternal: true
    - name: (
      nameWithType: (
      fullName: (
    - name: )
      nameWithType: )
      fullName: )
  - uid: System.Object.ReferenceEquals(System.Object,System.Object)
    commentId: M:System.Object.ReferenceEquals(System.Object,System.Object)
    parent: System.Object
    isExternal: true
    name: ReferenceEquals(Object, Object)
    nameWithType: Object.ReferenceEquals(Object, Object)
    fullName: System.Object.ReferenceEquals(System.Object, System.Object)
    spec.csharp:
    - uid: System.Object.ReferenceEquals(System.Object,System.Object)
      name: ReferenceEquals
      nameWithType: Object.ReferenceEquals
      fullName: System.Object.ReferenceEquals
      isExternal: true
    - name: (
      nameWithType: (
      fullName: (
    - uid: System.Object
      name: Object
      nameWithType: Object
      fullName: System.Object
      isExternal: true
    - name: ', '
      nameWithType: ', '
      fullName: ', '
    - uid: System.Object
      name: Object
      nameWithType: Object
      fullName: System.Object
      isExternal: true
    - name: )
      nameWithType: )
      fullName: )
    spec.vb:
    - uid: System.Object.ReferenceEquals(System.Object,System.Object)
      name: ReferenceEquals
      nameWithType: Object.ReferenceEquals
      fullName: System.Object.ReferenceEquals
      isExternal: true
    - name: (
      nameWithType: (
      fullName: (
    - uid: System.Object
      name: Object
      nameWithType: Object
      fullName: System.Object
      isExternal: true
    - name: ', '
      nameWithType: ', '
      fullName: ', '
    - uid: System.Object
      name: Object
      nameWithType: Object
      fullName: System.Object
      isExternal: true
    - name: )
      nameWithType: )
      fullName: )
  - uid: System.Object.ToString
    commentId: M:System.Object.ToString
    parent: System.Object
    isExternal: true
    name: ToString()
    nameWithType: Object.ToString()
    fullName: System.Object.ToString()
    spec.csharp:
    - uid: System.Object.ToString
      name: ToString
      nameWithType: Object.ToString
      fullName: System.Object.ToString
      isExternal: true
    - name: (
      nameWithType: (
      fullName: (
    - name: )
      nameWithType: )
      fullName: )
    spec.vb:
    - uid: System.Object.ToString
      name: ToString
      nameWithType: Object.ToString
      fullName: System.Object.ToString
      isExternal: true
    - name: (
      nameWithType: (
      fullName: (
    - name: )
      nameWithType: )
      fullName: )
  - uid: System
    commentId: N:System
    isExternal: true
    name: System
    nameWithType: System
    fullName: System
  - uid: McMaster.Extensions.CommandLineUtils.Conventions.ValidationErrorMethodConvention.Apply*
    commentId: Overload:McMaster.Extensions.CommandLineUtils.Conventions.ValidationErrorMethodConvention.Apply
    name: Apply
    nameWithType: ValidationErrorMethodConvention.Apply
    fullName: McMaster.Extensions.CommandLineUtils.Conventions.ValidationErrorMethodConvention.Apply
  - uid: McMaster.Extensions.CommandLineUtils.Conventions.IConvention.Apply(McMaster.Extensions.CommandLineUtils.Conventions.ConventionContext)
    commentId: M:McMaster.Extensions.CommandLineUtils.Conventions.IConvention.Apply(McMaster.Extensions.CommandLineUtils.Conventions.ConventionContext)
    parent: McMaster.Extensions.CommandLineUtils.Conventions.IConvention
    name: Apply(ConventionContext)
    nameWithType: IConvention.Apply(ConventionContext)
    fullName: McMaster.Extensions.CommandLineUtils.Conventions.IConvention.Apply(McMaster.Extensions.CommandLineUtils.Conventions.ConventionContext)
    spec.csharp:
    - uid: McMaster.Extensions.CommandLineUtils.Conventions.IConvention.Apply(McMaster.Extensions.CommandLineUtils.Conventions.ConventionContext)
      name: Apply
      nameWithType: IConvention.Apply
      fullName: McMaster.Extensions.CommandLineUtils.Conventions.IConvention.Apply
    - name: (
      nameWithType: (
      fullName: (
    - uid: McMaster.Extensions.CommandLineUtils.Conventions.ConventionContext
      name: ConventionContext
      nameWithType: ConventionContext
      fullName: McMaster.Extensions.CommandLineUtils.Conventions.ConventionContext
    - name: )
      nameWithType: )
      fullName: )
    spec.vb:
    - uid: McMaster.Extensions.CommandLineUtils.Conventions.IConvention.Apply(McMaster.Extensions.CommandLineUtils.Conventions.ConventionContext)
      name: Apply
      nameWithType: IConvention.Apply
      fullName: McMaster.Extensions.CommandLineUtils.Conventions.IConvention.Apply
    - name: (
      nameWithType: (
      fullName: (
    - uid: McMaster.Extensions.CommandLineUtils.Conventions.ConventionContext
      name: ConventionContext
      nameWithType: ConventionContext
      fullName: McMaster.Extensions.CommandLineUtils.Conventions.ConventionContext
    - name: )
      nameWithType: )
      fullName: )
  - uid: McMaster.Extensions.CommandLineUtils.Conventions.ConventionContext
    commentId: T:McMaster.Extensions.CommandLineUtils.Conventions.ConventionContext
    parent: McMaster.Extensions.CommandLineUtils.Conventions
    name: ConventionContext
    nameWithType: ConventionContext
    fullName: McMaster.Extensions.CommandLineUtils.Conventions.ConventionContext
  