public Function(PProfProto.Function item, PProfInfo.String nameInfo, PProfInfo.String systemNameInfo, PProfInfo.String filenameInfo) { Validate.NotNull(item, nameof(item)); Validate.NotNull(nameInfo, nameof(nameInfo)); // systemNameInfo may be null // filenameInfo may be null this.Item = item; this.IsIncludedInSession = false; this.NameInfo = nameInfo; this.SystemNameInfo = systemNameInfo; this.FilenameInfo = filenameInfo; }
public Function(PProfProto.Function item, PProfInfo.String nameInfo) : this(item, nameInfo, systemNameInfo : null, filenameInfo : null) { }