internal static bool IsDefined(PeerResolverMode value) { return( value == PeerResolverMode.Auto || value == PeerResolverMode.Pnrp || value == PeerResolverMode.Custom); }
internal static bool IsDefined(PeerResolverMode value) { return ( value == PeerResolverMode.Auto || value == PeerResolverMode.Pnrp || value == PeerResolverMode.Custom ); }
internal static bool IsDefined(PeerResolverMode value) { if ((value != PeerResolverMode.Auto) && (value != PeerResolverMode.Pnrp)) { return (value == PeerResolverMode.Custom); } return true; }
internal static bool IsDefined(PeerResolverMode value) { if ((value != PeerResolverMode.Auto) && (value != PeerResolverMode.Pnrp)) { return(value == PeerResolverMode.Custom); } return(true); }
static internal void ThrowArgument_InvalidResolverMode(PeerResolverMode mode) { throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentException(SR.GetString(SR.InvalidResolverMode, mode))); }
static internal void ThrowArgument_InvalidResolverMode(PeerResolverMode mode) { throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentException(SR.GetString(SR.InvalidResolverMode, mode))); }
internal static void ThrowArgument_InvalidResolverMode(PeerResolverMode mode) { throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentException(System.ServiceModel.SR.GetString("InvalidResolverMode", new object[] { mode }))); }