4 references to CheckParam
Microsoft.ML.Core (4)
Data\ModelSaveContext.cs (1)
223
_ectx.
CheckParam
(!string.IsNullOrEmpty(str), nameof(str));
Data\Repository.cs (3)
238
_ectx.
CheckParam
(dir == null || !dir.Contains(".."), nameof(dir));
239
_ectx.
CheckParam
(!string.IsNullOrWhiteSpace(name), nameof(name));
240
_ectx.
CheckParam
(!name.Contains(".."), nameof(name));