SIL.Cog.Application.ViewModels.ThresholdCognateIdentifierViewModel.Setup C# (CSharp) Метод

Setup() публичный Метод

public Setup ( ) : void
Результат void
        public override void Setup()
        {
            ICognateIdentifier cognateIdentifier = _projectService.Project.CognateIdentifiers[ComponentIdentifiers.PrimaryCognateIdentifier];
            var threshold = cognateIdentifier as ThresholdCognateIdentifier;
            Set(() => Threshold, ref _threshold, threshold == null ? 0.75 : threshold.Threshold);
        }