public FormatViewDefinition(string name, PSControl control) { if (string.IsNullOrEmpty(name)) { throw PSTraceSource.NewArgumentNullException("name"); } if (control == null) { throw PSTraceSource.NewArgumentNullException("control"); } this._name = name; this._control = control; }
/// <summary/> public FormatViewDefinition(string name, PSControl control) { if (string.IsNullOrEmpty(name)) { throw PSTraceSource.NewArgumentNullException(nameof(name)); } if (control == null) { throw PSTraceSource.NewArgumentNullException(nameof(control)); } Name = name; Control = control; InstanceId = Guid.NewGuid(); }
internal FormatViewDefinition(string name, PSControl control, Guid instanceid) { Name = name; Control = control; InstanceId = instanceid; }
internal FormatViewDefinition(string name, PSControl control, Guid instanceid) { this._name = name; this._control = control; this._instanceId = instanceid; }