-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
46 changed files
with
800 additions
and
577 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
32 changes: 17 additions & 15 deletions
32
Source/Core/Editor/ProcessValidation/DisabledValidationHandler.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,28 @@ | ||
// Copyright (c) 2013-2019 Innoactive GmbH | ||
// Copyright (c) 2013-2019 Innoactive GmbH | ||
// Licensed under the Apache License, Version 2.0 | ||
// Modifications copyright (c) 2021-2024 MindPort GmbH | ||
|
||
using VRBuilder.Core; | ||
using VRBuilder.Editor.ProcessValidation; | ||
|
||
/// <summary> | ||
/// Does not validate, used to disabled the validation system. | ||
/// </summary> | ||
internal class DisabledValidationHandler : IValidationHandler | ||
namespace VRBuilder.Editor.ProcessValidation | ||
{ | ||
public IContextResolver ContextResolver { get; set; } = null; | ||
/// <summary> | ||
/// Does not validate, used to disabled the validation system. | ||
/// </summary> | ||
internal class DisabledValidationHandler : IValidationHandler | ||
{ | ||
public IContextResolver ContextResolver { get; set; } = null; | ||
|
||
public IValidationReport LastReport { get; } = null; | ||
public IValidationReport LastReport { get; } = null; | ||
|
||
public bool IsAllowedToValidate() | ||
{ | ||
return false; | ||
} | ||
public bool IsAllowedToValidate() | ||
{ | ||
return false; | ||
} | ||
|
||
public IValidationReport Validate(IData data, IProcess process, IContext context = null) | ||
{ | ||
return null; | ||
public IValidationReport Validate(IData data, IProcess process, IContext context = null) | ||
{ | ||
return null; | ||
} | ||
} | ||
} |
Oops, something went wrong.