コード例 #1
0
 /// <summary>
 /// Retrieves the Option Value associated with the Option and Scope
 /// </summary>
 /// <param name="option">The associated option to retrieve the option value for</param>
 /// <returns>A <see cref="DhcpServerOptionValue"/>.</returns>
 public IDhcpServerOptionValue GetOptionValue(IDhcpServerOption option) => ((DhcpServerOption)option).GetScopeValue(Scope);
コード例 #2
0
 /// <summary>
 /// Retrieves the Option Value associated with the Option and Reservation Scope
 /// </summary>
 /// <param name="option">The associated option to retrieve the option value for</param>
 /// <returns>A <see cref="IDhcpServerOptionValue"/>.</returns>
 public IDhcpServerOptionValue GetOptionValue(IDhcpServerOption option) => ((DhcpServerOption)option).GetScopeReservationValue(Reservation);