< Summary

Class:ProfanityFilterSharedInstances
Assembly:ProfanityFiltering
File(s):/tmp/workspace/unity-renderer/unity-renderer/Assets/Scripts/MainScripts/DCL/Helpers/ProfanityFiltering/ProfanityFilterSharedInstances.cs
Covered lines:1
Uncovered lines:0
Coverable lines:1
Total lines:13
Line coverage:100% (1 of 1)
Covered branches:0
Total branches:0

File(s)

/tmp/workspace/unity-renderer/unity-renderer/Assets/Scripts/MainScripts/DCL/Helpers/ProfanityFiltering/ProfanityFilterSharedInstances.cs

#LineLine coverage
 1public static class ProfanityFilterSharedInstances
 2{
 3    private static RegexProfanityFilter regexFilterInstance;
 4
 5    public static RegexProfanityFilter regexFilter
 6    {
 7        get
 8        {
 159            return regexFilterInstance ??= new RegexProfanityFilter(
 10                new ProfanityWordProviderFromResourcesJson("Profanity/badwords"));
 11        }
 12    }
 13}

Methods/Properties

regexFilter()