SIL.Cog.Application.ViewModels.ThresholdCognateIdentifierViewModel.UpdateComponent C# (CSharp) Method

UpdateComponent() public method

public UpdateComponent ( ) : object
return object
        public override object UpdateComponent()
        {
            var cognateIdentifier = new ThresholdCognateIdentifier(_threshold);
            _projectService.Project.CognateIdentifiers[ComponentIdentifiers.PrimaryCognateIdentifier] = cognateIdentifier;
            return cognateIdentifier;
        }