_context = context ?? throw new ArgumentNullException(nameof(context));
Esempio n. 2
0
 underlyingObject ?? throw new ArgumentNullException(nameof(underlyingObject));
 : base(text, tag, colorize, colors) => SearchMatcher = searchMatcher ?? throw new ArgumentNullException(nameof(searchMatcher));
 public StartWatchingCluster(string clusterName) => ClusterName = clusterName ?? throw new ArgumentNullException(nameof(clusterName));
 _ => throw new ArgumentOutOfRangeException(nameof(value), value, "Unknown ArtifactManifestOrder value.")
Esempio n. 6
0
 public ICollectionDebugView(ICollection <T> collection) => _Collection = collection ?? throw new ArgumentNullException(nameof(collection));
Esempio n. 7
0
 public BreakpointData(GlyphTextMarkerLocationInfo location) => Location = location ?? throw new ArgumentNullException(nameof(location));
Esempio n. 8
0
throw new ArgumentNullException(nameof(obj1));
Esempio n. 9
0
 /// <summary>
 /// Registers a generated class.
 /// </summary>
 internal protected static void RegisterInstance(Type instance) => TypeEmitter.RegisterInstance(instance ?? throw new ArgumentNullException(nameof(instance)));
Esempio n. 10
0
 public PersionRepository(ApplicationDbContext context) => Context = context ?? throw new ArgumentNullException(nameof(context));
Esempio n. 11
0
 public void AddForPatch(IPatch patch) => forPass.Add(patch ?? throw new ArgumentNullException(nameof(patch)));
Esempio n. 12
0
 [Theory MemberData(nameof(ValidStores))]
Esempio n. 13
0
 public HexAdornmentElementImpl(IHexTextTagSpan <HexSpaceNegotiatingAdornmentTag> tagSpan) => this.tagSpan = tagSpan ?? throw new ArgumentNullException(nameof(tagSpan));
Esempio n. 14
0
 MemberData(nameof(ValidScopes))
 ]
throw new ArgumentNullException(nameof(id));
typeof(EmitGenericCollectionNodeDeserializer).GetMethod(nameof(DeserializeHelper));
this.dbConnector = dbConnector ?? throw new ArgumentNullException(nameof(dbConnector));
typeof(EmitGenericDictionaryNodeDeserializer).GetMethod(nameof(DeserializeHelper));
Esempio n. 19
0
throw new ArgumentNullException(nameof(address));
Esempio n. 20
0
 new Column(table, nameof(TestEntity.Foo), typeof(TestEntity).GetProperty(nameof(TestEntity.Foo)) !)
Esempio n. 21
0
 /// <summary>Initializes a new instance of the <see cref="T:Gorgon.Editor.UI.Controls.ContentFileEntrySelectedEventArgs"/> class.</summary>
 /// <param name="entry">The file entry that was selected or unselected.</param>
 /// <exception cref="ArgumentNullException">Thrown when the <paramref name="entry"/> parameter is <b>null</b>.</exception>
 public ContentFileEntrySelectedEventArgs(ContentFileExplorerFileEntry entry) => FileEntry = entry ?? throw new ArgumentNullException(nameof(entry));
Esempio n. 22
0
 throw new ArgumentNullException(nameof(entity), "Value can`t be a null")
 );
 _ => throw new ArgumentOutOfRangeException(nameof(value), value, "Unknown UsageUnit value.")
Esempio n. 24
0
 _ = group ?? throw new ArgumentNullException(nameof(group));
Esempio n. 25
0
this.ActorUrl = actorUrl ?? throw new ArgumentNullException(nameof(actorUrl));
 _ => throw new ArgumentOutOfRangeException(nameof(value), value, "Unknown ServerConnectionType value.")
Esempio n. 27
0
 _ => throw new ArgumentOutOfRangeException(nameof(value), value, "Unknown UriColor value.")
throw new ArgumentNullException(nameof(source));
Esempio n. 29
0
throw new ArgumentOutOfRangeException(nameof(length), "The length of return list must be smaller or equal to the product of the lengths of the lists used for the drawing");
Esempio n. 30
0
			Throw<ArgumentNullException>.If.IsNull(subService)?.Now(nameof(subService));
Esempio n. 31
0
 public virtual string Format <T>(T entity) => Build(entity ?? throw new ArgumentNullException(nameof(entity)));
typeof(FullObjectGraphTraversalStrategy).GetMethod(nameof(TraverseGenericDictionaryHelper));
 => Encode(message as PortInformationRequestMessage ?? throw new ArgumentException(nameof(message)), data);
Esempio n. 34
0
typeof(EmitArrayNodeDeserializer).GetMethod(nameof(DeserializeHelper));
Esempio n. 35
0
 set => _current = value ?? throw new ArgumentNullException(nameof(value));
Esempio n. 36
0
 new = RoutedUICommand(nameof(MyAction), nameof(MyAction), typeof(MyCustomCommands));
Esempio n. 37
0
 /// <summary>Initializes a new instance of the <see cref="ScopeableRequest"/> class.</summary>
 /// <param name="logger">The logger.</param>
 /// <exception cref="ArgumentNullException"><paramref name="logger"/> is <see langword="null" />.</exception>
 protected ScopeableRequest(ILogger logger) => Logger = logger ?? throw new ArgumentNullException(nameof(logger));
Esempio n. 38
0
 [Theory MemberData(nameof(ValidStores))]
 _ => throw new ArgumentOutOfRangeException(nameof(binding)),