Merge branch 'master' of http://192.168.10.111:8383/SIG
This commit is contained in:
@@ -3484,6 +3484,60 @@ Public Class ClsCompras
|
||||
|
||||
|
||||
End Function
|
||||
|
||||
|
||||
#Region "Medicos"
|
||||
|
||||
Public Function AddGastoMedicos(CveCompra As Integer, CveMedico As Integer, CvePS As Integer) As Boolean
|
||||
Dim Retorno As Boolean = False
|
||||
DataAdapter("PA_Comp_ComprasMedicosAdd")
|
||||
With SqlAdapter.SelectCommand.Parameters
|
||||
.Add("@CveCompra", SqlDbType.Int).Value = CveCompra
|
||||
.Add("@CveMedico", SqlDbType.Int).Value = CveMedico
|
||||
.Add("@CvePS", SqlDbType.Int).Value = CveCompra
|
||||
End With
|
||||
Try
|
||||
SqlAdapter.Fill(Data)
|
||||
Retorno = True
|
||||
Catch ex As Exception
|
||||
OnError("Ocurrió un error al agregar gasto de médico.", ex, SqlAdapter.SelectCommand.Parameters.ParametrosInfo)
|
||||
End Try
|
||||
Return Retorno
|
||||
End Function
|
||||
|
||||
Public Function GetGastoMedicos(CveCompra As Integer) As Boolean
|
||||
Dim Retorno As Boolean = False
|
||||
DataAdapter("PA_Comp_ComprasMedicosGet")
|
||||
With SqlAdapter.SelectCommand.Parameters
|
||||
.Add("@CveCompra", SqlDbType.Int).Value = CveCompra
|
||||
End With
|
||||
Try
|
||||
SqlAdapter.Fill(Data)
|
||||
Retorno = True
|
||||
Catch ex As Exception
|
||||
OnError("Ocurrió al obtener los gastos de médico.", ex, SqlAdapter.SelectCommand.Parameters.ParametrosInfo)
|
||||
End Try
|
||||
Return Retorno
|
||||
End Function
|
||||
|
||||
Public Function RemoveGastoMedicos(CveCompra As Integer, CveMedico As Integer, CvePS As Integer) As Boolean
|
||||
Dim Retorno As Boolean = False
|
||||
DataAdapter("PA_Comp_ComprasMedicosRemove")
|
||||
With SqlAdapter.SelectCommand.Parameters
|
||||
.Add("@CveCompra", SqlDbType.Int).Value = CveCompra
|
||||
.Add("@CveMedico", SqlDbType.Int).Value = CveMedico
|
||||
.Add("@CvePS", SqlDbType.Int).Value = CveCompra
|
||||
End With
|
||||
Try
|
||||
SqlAdapter.Fill(Data)
|
||||
Retorno = True
|
||||
Catch ex As Exception
|
||||
OnError("Ocurrió un error al eliminar gasto de médico.", ex, SqlAdapter.SelectCommand.Parameters.ParametrosInfo)
|
||||
End Try
|
||||
Return Retorno
|
||||
End Function
|
||||
|
||||
#End Region
|
||||
End Class
|
||||
|
||||
|
||||
|
||||
@@ -343,6 +343,7 @@ Public Class ClsContabilidad
|
||||
|
||||
|
||||
|
||||
|
||||
Public Function AddPrePolizasNegativa(CvePrePoliza As Integer, CveUsuario As Integer, Concepto As String, CveEmpresa As Integer, Fecha As Date) As Integer
|
||||
|
||||
Dim Retorno As Integer = -1
|
||||
|
||||
@@ -1512,6 +1512,34 @@ Public Class ClsPaginas
|
||||
HttpContext.Current.Application(AppNombre) = value
|
||||
End Set
|
||||
End Property
|
||||
|
||||
Public Shared Property GlobalDTVentasMotivosDevolucion(CveEmpresa As Integer) As DataTable
|
||||
Get
|
||||
Dim AppNombre As String = $"GlobalDTVentasMotivosDevolucion-{CveEmpresa}"
|
||||
'sino existe, recarga los datos
|
||||
If HttpContext.Current.Application(AppNombre) Is Nothing Then
|
||||
Dim ObjGral As New ClsVentas()
|
||||
If ObjGral.GetMotivoDevolucion(-1, 1, CveEmpresa) Then
|
||||
HttpContext.Current.Application(AppNombre) = ObjGral.DtResultados
|
||||
End If
|
||||
ObjGral.Dispose()
|
||||
End If
|
||||
If HttpContext.Current.Application(AppNombre) IsNot Nothing Then
|
||||
Dim Str As New StringBuilder
|
||||
Str.AppendFormat(" 1 = 1 ")
|
||||
'If CveMotivoCancelacion > 0 Then Str.AppendFormat(" AND CveMotivoCancelacion = {0}", CveMotivoCancelacion)
|
||||
Dim Dv As New DataView(DirectCast(HttpContext.Current.Application(AppNombre), DataTable), Str.ToString, "", DataViewRowState.CurrentRows)
|
||||
GlobalDTVentasMotivosDevolucion = Dv.ToTable
|
||||
Dv.Dispose()
|
||||
Else
|
||||
GlobalDTVentasMotivosDevolucion = Nothing
|
||||
End If
|
||||
End Get
|
||||
Set(value As DataTable)
|
||||
Dim AppNombre As String = $"GlobalDTVentasMotivosDevolucion-{CveEmpresa}"
|
||||
HttpContext.Current.Application(AppNombre) = value
|
||||
End Set
|
||||
End Property
|
||||
Property GlobalDTEstatusOrdenCompra() As DataTable
|
||||
Get
|
||||
GlobalDTEstatusOrdenCompra = DirectCast(Application("GlobalDTEstatusOrdenCompra"), DataTable)
|
||||
@@ -11027,60 +11055,110 @@ Public Class ClsPaginas
|
||||
Public Shared Sub EnviaNotificacionSMS(Tipo As Integer, tEmpresa As Empresa, CveOS As Integer, Folio As String, FechaCirugía As DateTime, Hospital As String, Medico As String, Procedimiento As String, Tecnico As String, Vendedor As String, Remision As String, ListaPS As List(Of GenericaCantidadProducto), CorreoDestino As String)
|
||||
Dim ObjMail As New ClsSisMail()
|
||||
Dim Asunto As String = ""
|
||||
Dim OpcionNegritas As String = ""
|
||||
Dim TextoFinal As String = ""
|
||||
Dim Contenido As New StringBuilder
|
||||
Contenido.Append("<html>")
|
||||
Contenido.Append("<head>")
|
||||
Contenido.Append("<meta charset='UTF-8'>")
|
||||
Contenido.Append(" <style type=""text/css""> ")
|
||||
Contenido.Append(" .Negritas ")
|
||||
Contenido.Append(" { ")
|
||||
Contenido.Append(" font-weight:bold; ")
|
||||
Contenido.Append(" font-size:19px; ")
|
||||
Contenido.Append(" } ")
|
||||
Contenido.Append(" </style> ")
|
||||
Contenido.Append("</head>")
|
||||
Contenido.Append(" <body style='width:800px'>")
|
||||
'Contenido.Append("<div>")
|
||||
'Contenido.Append($"<img src='http://sms.adssistemas.mx/Empresas/186/Logo.png' style='width:200px'></img>")
|
||||
'Contenido.Append("</div>")
|
||||
Select Case Tipo
|
||||
Case 3
|
||||
Asunto = $"Nuevo Pedido:{FechaCirugía.ToString("dd/MM/yyyy HH:mm")}"
|
||||
Contenido.AppendFormat("Pedido: <a href='https://sms.adssistemas.mx/Ventas/Ventas.aspx?CveVenta={0}'>{1}</a><br/>", CveOS, Folio)
|
||||
OpcionNegritas = "H"
|
||||
Case 4
|
||||
Asunto = $"Nuevo Pedido:{Remision}"
|
||||
Contenido.AppendFormat("Pedido: <a href='https://sms.adssistemas.mx/Ventas/Vetas.aspx?CveVenta={0}'>{1}</a><br/>", CveOS, Folio)
|
||||
OpcionNegritas = "H"
|
||||
Case 5
|
||||
Asunto = "Cirugía de Urgencia"
|
||||
Contenido.AppendFormat("Pedido: <a href='https://sms.adssistemas.mx/Ventas/Ventas.aspx?CveVenta={0}'>{1}</a><br/>", CveOS, Folio)
|
||||
OpcionNegritas = "H"
|
||||
Case 6
|
||||
Asunto = "Tu pedido ha sido entregado"
|
||||
Contenido.AppendFormat(" <p style='width:100%;text-align:center;font-family:Segoe UI Semibold;font-size:12pt'>OS: <a href='https://sms.adssistemas.mx/OS/OrdenesServicios.aspx?CveOS={0}'>{1}</a><br/></p>", CveOS, Folio)
|
||||
Contenido.AppendFormat(" <span style='width:100%;text-align:left;font-family:Segoe UI Semibold;font-size:12pt'>OS: <a href='https://sms.adssistemas.mx/OS/OrdenesServicios.aspx?CveOS={0}'>{1}</a><br/></span>", CveOS, Folio)
|
||||
OpcionNegritas = "Mat"
|
||||
Case 7
|
||||
Asunto = $"Se te ha asignado una CX:{FechaCirugía.ToString("dd/MM/yyyy HH:mm")}"
|
||||
Contenido.AppendFormat(" <span style='width:100%;text-align:left;font-family:Segoe UI Semibold;font-size:12pt'>OS: <a href='https://sms.adssistemas.mx/OS/OrdenesServicios.aspx?CveOS={0}'>{1}</a><br/></span>", CveOS, Folio)
|
||||
OpcionNegritas = "H"
|
||||
Case 8
|
||||
Asunto = "Tu CX ha sido asignada"
|
||||
Contenido.AppendFormat(" <span style='width:100%;text-align:left;font-family:Segoe UI Semibold;font-size:12pt'>OS: <a href='https://sms.adssistemas.mx/OS/OrdenesServicios.aspx?CveOS={0}'>{1}</a><br/></span>", CveOS, Folio)
|
||||
OpcionNegritas = "T"
|
||||
Case 9
|
||||
Asunto = "Material Utilizado en tu CX"
|
||||
Contenido.AppendFormat(" <p style='width:100%;text-align:center;font-family:Segoe UI Semibold;font-size:12pt'>OS: <a href='https://sms.adssistemas.mx/OS/OrdenesServicios.aspx?CveOS={0}'>{1}</a><br/></p>", CveOS, Folio)
|
||||
Contenido.AppendFormat(" <span style='width:100%;text-align:left;font-family:Segoe UI Semibold;font-size:12pt'>OS: <a href='https://sms.adssistemas.mx/OS/OrdenesServicios.aspx?CveOS={0}'>{1}</a><br/></span>", CveOS, Folio)
|
||||
OpcionNegritas = "Mat"
|
||||
Case 10
|
||||
Asunto = "Material por recolectar; Remisión: " & Remision
|
||||
Contenido.AppendFormat(" <p style='width:100%;text-align:center;font-family:Segoe UI Semibold;font-size:12pt'>OS: <a href='https://sms.adssistemas.mx/OS/OrdenesServicios.aspx?CveOS={0}'>{1}</a><br/></p>", CveOS, Folio)
|
||||
Contenido.AppendFormat(" <span style='width:100%;text-align:left;font-family:Segoe UI Semibold;font-size:12pt'>OS: <a href='https://sms.adssistemas.mx/OS/OrdenesServicios.aspx?CveOS={0}'>{1}</a><br/></span>", CveOS, Folio)
|
||||
Case 11
|
||||
Asunto = "Sin material por recolectar ; Remisión " & Remision
|
||||
Contenido.AppendFormat(" <p style='width:100%;text-align:center;font-family:Segoe UI Semibold;font-size:12pt'>OS: <a href='https://sms.adssistemas.mx/OS/OrdenesServicios.aspx?CveOS={0}'>{1}</a><br/></p>", CveOS, Folio)
|
||||
Contenido.AppendFormat(" <span style='width:100%;text-align:left;font-family:Segoe UI Semibold;font-size:12pt'>OS: <a href='https://sms.adssistemas.mx/OS/OrdenesServicios.aspx?CveOS={0}'>{1}</a><br/></span>", CveOS, Folio)
|
||||
Case 12
|
||||
Asunto = "Remisión por facturar ### (folio de Remisión)"
|
||||
Contenido.AppendFormat("Remisión: <a href='https://sms.adssistemas.mx/Ventas/Vetas.aspx?CveVenta={0}'>{1}</a><br/>", CveOS, Folio)
|
||||
Asunto = "Remisión por facturar:" & Folio
|
||||
Contenido.AppendFormat(" <b>Remisión: <a href='https://sms.adssistemas.mx/Ventas/Ventas.aspx?CveVenta={0}'>{1}</a></b><br/>", CveOS, Folio)
|
||||
Case 13
|
||||
Asunto = "Cirugía Cancelada"
|
||||
Contenido.AppendFormat(" <span style='width:100%;text-align:left;font-family:Segoe UI Semibold;font-size:12pt'>OS: <a href='https://sms.adssistemas.mx/OS/OrdenesServicios.aspx?CveOS={0}'>{1}</a><br/></span>", CveOS, Folio)
|
||||
OpcionNegritas = "F"
|
||||
Case 14
|
||||
Asunto = "Cirugía Cancelada; Remisión " & Remision
|
||||
Contenido.AppendFormat(" <span style='width:100%;text-align:left;font-family:Segoe UI Semibold;font-size:12pt'>OS: <a href='https://sms.adssistemas.mx/OS/OrdenesServicios.aspx?CveOS={0}'>{1}</a><br/></span>", CveOS, Folio)
|
||||
OpcionNegritas = "Mat"
|
||||
TextoFinal = "<b>CANCELADA</b>"
|
||||
Case 15
|
||||
Asunto = "Cirugía Cancelada; OS " & Folio
|
||||
Contenido.AppendFormat(" <span style='width:100%;text-align:left;font-family:Segoe UI Semibold;font-size:12pt'>OS: <a href='https://sms.adssistemas.mx/OS/OrdenesServicios.aspx?CveOS={0}'>{1}</a><br/></span>", CveOS, Folio)
|
||||
TextoFinal = "<b>CANCELADA</b>"
|
||||
End Select
|
||||
|
||||
Contenido.AppendFormat("Fecha y hora de cx: {0}<br/>", FechaCirugía.ToString("dd/MM/yyyy HH:mm"))
|
||||
Contenido.AppendFormat("<span style='{1}'>Fecha y hora de cx: {0}</span><br/>", FechaCirugía.ToString("dd/MM/yyyy HH:mm"), If(OpcionNegritas = "T", "Negritas", ""))
|
||||
Contenido.AppendFormat("Hospital: {0}<br/>", Hospital)
|
||||
Contenido.AppendFormat("Médico: {0}<br/>", Medico)
|
||||
Contenido.AppendFormat("Procedimiento: {0}<br/>", Procedimiento)
|
||||
If Tecnico <> "" Then Contenido.AppendFormat("Técnico: {0}<br/>", Tecnico)
|
||||
Contenido.AppendFormat("Vendedor: {0}<br/>", Vendedor)
|
||||
Contenido.AppendFormat("Remisión: {0}<br/>", Remision)
|
||||
If Medico <> "" Then Contenido.AppendFormat("Médico: {0}<br/>", Medico)
|
||||
If Procedimiento <> "" Then Contenido.AppendFormat("Procedimiento: {0}<br/>", Procedimiento)
|
||||
If Tecnico <> "" Then Contenido.AppendFormat("Técnico: {0}<br/>", If(OpcionNegritas = "T", $"<b>{Tecnico}</b>", Tecnico))
|
||||
If Vendedor <> "" Then Contenido.AppendFormat("Vendedor: {0}<br/>", Vendedor)
|
||||
If Remision <> "" Then Contenido.AppendFormat("Remisión: {0}<br/>", Remision)
|
||||
|
||||
If ListaPS.Count > 0 Then
|
||||
Contenido.Append(" <div style='width:100%;text-align:left'>")
|
||||
Contenido.Append(" <table style='width:100%;font-family:Segoe UI Semibold;font-size:12pt'>")
|
||||
Contenido.AppendFormat("<b>Productos.</b><br/>", Remision)
|
||||
For Each ps As GenericaCantidadProducto In ListaPS
|
||||
Contenido.AppendFormat("<tr><td style='width:25%'>{0}</td><td style='width:75%'>{1}</td></tr>", ps.Cantidad.FormatoNumero(0), ps.Producto)
|
||||
Next
|
||||
Contenido.Append(" </table>")
|
||||
Contenido.Append(" </div>")
|
||||
Else
|
||||
Contenido.AppendFormat("<b>Sin material sobrante.</b><br/>", Remision)
|
||||
If ListaPS IsNot Nothing Then
|
||||
If ListaPS.Count > 0 Then
|
||||
Contenido.Append(" <div style='width:100%;text-align:left;font-family:Segoe UI Semibold;font-size:10pt''>")
|
||||
Contenido.AppendFormat("<span>Productos.</span><br/>", Remision)
|
||||
Contenido.Append(" <table style='width:100%;'>")
|
||||
For Each ps As GenericaCantidadProducto In ListaPS
|
||||
Contenido.AppendFormat("<tr><td style='width:25%'>{0}</td><td style='width:75%'>{1}</td></tr>", ps.Cantidad.FormatoNumero(0), ps.Producto)
|
||||
Next
|
||||
Contenido.Append(" </table>")
|
||||
Contenido.Append(" </div>")
|
||||
Else
|
||||
Contenido.AppendFormat("<b>Sin material sobrante.</b><br/>", Remision)
|
||||
End If
|
||||
End If
|
||||
Contenido.AppendFormat("Remisión: {0}<br/>", Remision)
|
||||
Contenido.AppendFormat("<br/> {0}<br/>", TextoFinal)
|
||||
|
||||
'Contenido.AppendFormat("<br/>CorreoDestino: {0}<br/>", CorreoDestino)
|
||||
Contenido.Append(" </body>")
|
||||
Contenido.Append("</html>")
|
||||
|
||||
'CorreoDestino = "rene.molina@adssistemas.mx"
|
||||
|
||||
If ObjMail.SendMail(tEmpresa, CorreoDestino, Asunto, Contenido.ToString) Then
|
||||
|
||||
End If
|
||||
|
||||
End Sub
|
||||
End Class
|
||||
|
||||
|
||||
@@ -199,6 +199,25 @@ Public Class ClsSisUsuarios
|
||||
Return Retorno
|
||||
End Function
|
||||
|
||||
Public Function UpdateUsuarioCelular(CveUsuario As Integer, Celular As String) As Boolean
|
||||
Dim Retorno As Boolean = False
|
||||
DataAdapter("PA_Sis_UsuariosCelularUpdate")
|
||||
|
||||
With SqlAdapter.SelectCommand.Parameters
|
||||
.Add("@CveUsuario", SqlDbType.Int).Value = CveUsuario
|
||||
.Add("@Celular", SqlDbType.VarChar).Value = Celular
|
||||
End With
|
||||
|
||||
Try
|
||||
SqlAdapter.Fill(Data)
|
||||
Retorno = True
|
||||
Catch ex As Exception
|
||||
OnError("Ocurrió un error al actualizar impuestos locales.", ex, SqlAdapter.SelectCommand.Parameters.ParametrosInfo)
|
||||
End Try
|
||||
|
||||
Return Retorno
|
||||
End Function
|
||||
|
||||
Public Function GetModulosUsuariosPlataforma(CveUsuario As Integer, CvePlataforma As Integer) As Boolean
|
||||
Dim Retorno As Boolean = False
|
||||
DataAdapter("SELECT M.* FROM [dbo].[UsuariosModulos] UM INNER JOIN Modulos M ON M.CveModulo=UM.CveModulo WHERE M.CvePlataforma =@CvePlataforma AND @CveUsuario = UM .CveUsuario AND UM.Permitir =1", CommandType.Text)
|
||||
|
||||
@@ -742,7 +742,7 @@ Namespace Modelos
|
||||
|
||||
Return Not ErrorPrePolizas
|
||||
End Function
|
||||
Public Function EmitirFactura(Optional Timbrar As Boolean = True, Optional Transac As SqlClient.SqlTransaction = Nothing, Optional Modulo As String = "Modelos/GuardarVentaM") As MMensajeFactura
|
||||
Public Function EmitirFactura(Optional Timbrar As Boolean = True, Optional Transac As SqlClient.SqlTransaction = Nothing, Optional Modulo As String = "Modelos/GuardarVentaM", Optional MostrarURL As Boolean = False) As MMensajeFactura
|
||||
Dim Retorno As New MMensajeFactura()
|
||||
|
||||
If Me.Version = "3.3" AndAlso Not Me.TipoDocto.Contiene("Ped", "PeC") Then
|
||||
@@ -1117,8 +1117,12 @@ Namespace Modelos
|
||||
End If
|
||||
|
||||
'MENSAJE PRINCIPAL
|
||||
MensajeAlert.AppendFormat(String.Format("<br/>La {0}: <b>{1}</b> se generó correctamente.<br/><br/>", If(Me.TipoDocumento = "Ingresos", "Factura", Me.TipoDocumento), Me.SerieFolio))
|
||||
|
||||
If MostrarURL Then
|
||||
MensajeAlert.AppendFormat("<br/>La {0}: <a class=""Texto"" target=""_blank"" href=""/Ventas/Ventas.aspx?CveVenta={2}""><b></b>{1}</a> se generó correctamente.<br/><br/>", If(Me.TipoDocumento = "Ingresos", "Factura", Me.TipoDocumento), Me.SerieFolio, Me.CveVenta)
|
||||
Else
|
||||
MensajeAlert.AppendFormat(String.Format("<br/>La {0}: <b>{1}</b> se generó correctamente.<br/><br/>", If(Me.TipoDocumento = "Ingresos", "Factura", Me.TipoDocumento), Me.SerieFolio))
|
||||
End If
|
||||
|
||||
' DESCARGA XML - SI SE TIMBRA MANDA CORREO CON FACTURA
|
||||
If SeTimbro Then
|
||||
@@ -3505,6 +3509,39 @@ Namespace Modelos
|
||||
Pago.Referencia = Concepto
|
||||
|
||||
ErrorPrepoliza = ClsPaginas.AplicaPrePolizaPagoVenta(ventaRef, Pago, ObjFactura.CvePrePoliza, ObjConta)
|
||||
|
||||
If Not ErrorPrepoliza AndAlso ObjFactura.CveTipoAmortizacionAnticipo = 2 AndAlso ObjFactura.EsNCAmortizacion AndAlso ObjFactura.TipoDocto.Contiene("Egs") AndAlso ObjFactura.DtAnticiposAplicados IsNot Nothing Then
|
||||
|
||||
For Each row2 As DataRow In ObjFactura.DtAnticiposAplicados.Rows
|
||||
If row2("CveConceptoContable").ToString().ToEntero() = 3 Then
|
||||
CveIEAnticipo = row2("CveIE").ToString().ToEntero()
|
||||
|
||||
importeMovimiento = row2("Importe").ToString().ToDecimal() '- ((row2.FCTextBox("TxtAnticipo" & row2.RowIndex).Text.ToDecimal / row2.DataKey("TotalAnticipo").ToDecimal) * row2.DataKey("IVAAnticipo").ToDecimal)
|
||||
|
||||
Dim ImporteAnticipo As Decimal = importeMovimiento
|
||||
Dim CveMonedaAnticipo As Integer = row2("CveMoneda").ToString().ToEntero()
|
||||
|
||||
If tipoCambio > 1 Then Concepto += $" TC:{tipoCambio} ${importeMovimiento.FormatoNumero(2)}"
|
||||
|
||||
If ObjFactura.CveTipoAmortizacionAnticipo = 2 Then
|
||||
Dim DescuentosAnticipos As Decimal = row2("Descuentos").ToString().ToDecimal
|
||||
ImporteAnticipo = ImporteAnticipo / (row2("TotalAnticipo").ToString().ToDecimal - DescuentosAnticipos) * row2("SubTotalAnticipo").ToString().ToDecimal
|
||||
ImporteAnticipo = ImporteAnticipo.RoundSQL(2)
|
||||
End If
|
||||
|
||||
Dim Importe11MX As Decimal = ImporteAnticipo
|
||||
CveSubProyectoContabilizar = CveSubProyectoVenta
|
||||
|
||||
If importeMovimiento <> 0 Then
|
||||
If Not ObjConta.AddPrePolizasDetalle(ObjFactura.CvePrePoliza, False, Importe11MX, Importe11MX, 11, Referencia, Concepto, CveVenta:=row2("CveVenta").ToString().ToEntero(), CveVentaAmortizacion:=ObjFactura.CveVenta, ImporteME:=If(tipoCambio = 1, 0, importeMovimiento), CveCliente:=ObjFactura.CveCliente, CveIE:=CveIEAnticipo, CveSubProyecto:=CveSubProyectoContabilizar, Contabilizable:=SeContabiliza) Then
|
||||
ErrorPrepoliza = True
|
||||
Exit For
|
||||
End If
|
||||
End If
|
||||
End If
|
||||
Next
|
||||
|
||||
End If
|
||||
Next
|
||||
|
||||
If ObjConta.ValidacionesPrePoliza(ObjFactura.CvePrePoliza, UsuarioActual, Opcion:=5) Then
|
||||
@@ -3517,6 +3554,9 @@ Namespace Modelos
|
||||
' Dim DtTest = ObjConta.DtResultados
|
||||
'End If
|
||||
End If
|
||||
|
||||
importeMovimiento = 0
|
||||
importeMX = 0
|
||||
End If
|
||||
|
||||
If ErrorPrepoliza Then
|
||||
@@ -3667,30 +3707,31 @@ Namespace Modelos
|
||||
' cuando es amortización de nota de crédito, y es la nc
|
||||
' cuando es amortización por descuento, y es el ingreso
|
||||
' cuando es amortización en cero
|
||||
If (ObjFactura.CveTipoAmortizacionAnticipo = 2 AndAlso ObjFactura.TipoDocto.Contiene("Egs") OrElse
|
||||
ObjFactura.CveTipoAmortizacionAnticipo = 1 AndAlso ObjFactura.TipoDocto.Contiene("Ing") OrElse
|
||||
ObjFactura.CveTipoAmortizacionAnticipo = 3) Then
|
||||
For Each row2 As DataRow In ObjFactura.DtAnticipos.Rows
|
||||
If row2("CveConceptoContable").ToString().ToEntero = 11 Then
|
||||
CveIEAnticipo = -1
|
||||
importeMovimiento = row2("Importe").ToString().ToDecimal()
|
||||
If tipoCambio > 1 Then Concepto += $" TC:{tipoCambio} ${importeMovimiento.FormatoNumero(2)}"
|
||||
If (ObjFactura.CveTipoAmortizacionAnticipo = 1 AndAlso ObjFactura.TipoDocto.Contiene("Ing") OrElse ObjFactura.CveTipoAmortizacionAnticipo = 3) Then
|
||||
If DtAnticipos IsNot Nothing Then
|
||||
For Each row2 As DataRow In ObjFactura.DtAnticipos.Rows
|
||||
If row2("CveConceptoContable").ToString().ToEntero = 11 Then
|
||||
CveIEAnticipo = -1
|
||||
importeMovimiento = row2("Importe").ToString().ToDecimal()
|
||||
If tipoCambio > 1 Then Concepto += $" TC:{tipoCambio} ${importeMovimiento.FormatoNumero(2)}"
|
||||
|
||||
CveSubProyectoContabilizar = CveSubProyectoVenta
|
||||
CveSubProyectoContabilizar = CveSubProyectoVenta
|
||||
|
||||
If importeMovimiento <> 0 Then
|
||||
If Not ObjConta.AddPrePolizasDetalle(ObjFactura.CvePrePoliza, TipoMovimiento, importeMovimiento, importeMovimiento * tipoCambio, ConceptoContable, Referencia, Concepto, CveVenta:=ObjFactura.CveVenta,
|
||||
CveVentaAmortizacion:=row2("CveVenta").ToString.ToEntero, CveCliente:=ObjFactura.CveCliente, CveIE:=CveIEAnticipo,
|
||||
ImporteME:=If(tipoCambio = 1, 0, importeMovimiento),
|
||||
CveSubProyecto:=CveSubProyectoContabilizar) Then
|
||||
ErrorPrepoliza = True
|
||||
Exit For
|
||||
Else
|
||||
ObjFactura.SeGuardoPrePoliza = True
|
||||
If importeMovimiento <> 0 Then
|
||||
If Not ObjConta.AddPrePolizasDetalle(ObjFactura.CvePrePoliza, TipoMovimiento, importeMovimiento, importeMovimiento * tipoCambio, ConceptoContable, Referencia, Concepto, CveVenta:=ObjFactura.CveVenta,
|
||||
CveVentaAmortizacion:=row2("CveVenta").ToString.ToEntero, CveCliente:=ObjFactura.CveCliente, CveIE:=CveIEAnticipo,
|
||||
ImporteME:=If(tipoCambio = 1, 0, importeMovimiento),
|
||||
CveSubProyecto:=CveSubProyectoContabilizar) Then
|
||||
ErrorPrepoliza = True
|
||||
Exit For
|
||||
Else
|
||||
ObjFactura.SeGuardoPrePoliza = True
|
||||
End If
|
||||
End If
|
||||
End If
|
||||
End If
|
||||
Next
|
||||
Next
|
||||
End If
|
||||
|
||||
End If
|
||||
End If
|
||||
|
||||
@@ -6697,7 +6738,7 @@ Namespace Modelos
|
||||
If Not ObjVentas.UpdateEstatusOCRelacionada(ObjFactura.CveVenta, CveEstatusCancelacion, ObjFactura.CveEmpresa) Then
|
||||
ErrorCancelar = True
|
||||
MensajeError = "Ocurrió un error al cancelar la orden de servicio"
|
||||
else
|
||||
Else
|
||||
End If
|
||||
End If
|
||||
End If
|
||||
@@ -7601,6 +7642,7 @@ Namespace Modelos
|
||||
Public Property DtDocumentosRelacionados As Data.DataTable
|
||||
Public Property DtNCVinculadas As Data.DataTable
|
||||
Public Property DtAnticipos As Data.DataTable
|
||||
Public Property DtAnticiposAplicados As Data.DataTable
|
||||
Public Property DtPromociones As Data.DataTable
|
||||
Public Property DtImpuestosLocales As Data.DataTable
|
||||
Public Property DtPagos As Data.DataTable
|
||||
|
||||
@@ -683,7 +683,7 @@ Namespace Extensiones
|
||||
Return Retorno
|
||||
End Function
|
||||
|
||||
Public Function EnviarNotificacionBienvendiaWhatsApp(NumeroTelefono As String, NombreUsuario As String, Mensaje As String) As Boolean
|
||||
Public Function EnviarNotificacionBienvenidaWhatsApp(NumeroTelefono As String, NombreUsuario As String, Mensaje As String) As Boolean
|
||||
Dim RetornoObj As String = "{}"
|
||||
Dim Retorno As Boolean = False
|
||||
|
||||
@@ -3698,6 +3698,26 @@ Namespace Extensiones
|
||||
Public Function FirstDayOfMonth(ByVal Fecha As Date) As Date
|
||||
Return New DateTime(Fecha.Year, Fecha.Month, 1)
|
||||
End Function
|
||||
<Runtime.CompilerServices.Extension()>
|
||||
Public Function ListaBusquedaValor(TextoArreglo As String, ValorBuscado As String, Optional Delimitador As Char = "|"c) As String
|
||||
Dim Retorno As String = ""
|
||||
' Separar por ";" para obtener cada par clave:valor
|
||||
Dim pairs() As String = TextoArreglo.Trim.Split(Delimitador)
|
||||
For Each pair As String In pairs
|
||||
' Verificar que el par no esté vacío
|
||||
If Not String.IsNullOrWhiteSpace(pair) Then
|
||||
' Separar por ":" para obtener clave y valor
|
||||
Dim columns() As String = pair.Split(":"c)
|
||||
If columns.Length = 2 Then
|
||||
If columns(0) = ValorBuscado Then
|
||||
Retorno = columns(1)
|
||||
Exit For
|
||||
End If
|
||||
End If
|
||||
End If
|
||||
Next
|
||||
Return Retorno
|
||||
End Function
|
||||
|
||||
Private ReadOnly Property ObjClsPaginas As ClsPaginas
|
||||
Get
|
||||
|
||||
@@ -78,7 +78,7 @@ Public Class CargaEventos : Implements IHttpHandler, IRequiresSessionState
|
||||
cevent.CveOS = dr("CveOS").ToString.ToEntero
|
||||
cevent.allDay = False
|
||||
If dr("EstatusOSGral").ToString.Contiene("Levantamiento") Then
|
||||
cevent.backgroundColor = "#3598dc"
|
||||
cevent.backgroundColor = "#5C9BD1"
|
||||
ElseIf dr("EstatusOSGral").ToString.Contiene("Surtido") Then
|
||||
cevent.backgroundColor = "#002699"
|
||||
ElseIf dr("EstatusOSGral").ToString.Contiene("Asignado") Then
|
||||
@@ -86,11 +86,13 @@ Public Class CargaEventos : Implements IHttpHandler, IRequiresSessionState
|
||||
ElseIf dr("EstatusOSGral").ToString.Contiene("Finalizado") Then
|
||||
cevent.backgroundColor = "#26C281"
|
||||
ElseIf dr("EstatusOSGral").ToString.Contiene("Facturado") Then
|
||||
cevent.backgroundColor = "#4B77BE"
|
||||
cevent.backgroundColor = "#E87E04"
|
||||
ElseIf dr("EstatusOSGral").ToString.Contiene("Cobrado") Then
|
||||
cevent.backgroundColor = "#29b4b6"
|
||||
cevent.backgroundColor = "#c8d046"
|
||||
ElseIf dr("EstatusOSGral").ToString.Contiene("Cancelado") Then
|
||||
cevent.backgroundColor = "#e43a45"
|
||||
Else
|
||||
cevent.backgroundColor = ""
|
||||
End If
|
||||
events.Add(cevent)
|
||||
Next
|
||||
|
||||
@@ -1,22 +1,27 @@
|
||||
<%@ WebHandler Language="VB" Class="SIGFacturacion" %>
|
||||
<%@ WebHandler Language="VB" Class="E194" %>
|
||||
|
||||
Option Strict On
|
||||
Option Explicit On
|
||||
|
||||
Imports System
|
||||
Imports System.Web
|
||||
Imports System.Net.Http
|
||||
Imports System.Web.Http
|
||||
Imports System.Data
|
||||
Imports System.IO
|
||||
Imports System.Net.Http
|
||||
Imports Newtonsoft.Json
|
||||
Imports Newtonsoft.Json.Linq
|
||||
Imports Extensiones
|
||||
Imports System.IO
|
||||
Imports Modelos
|
||||
|
||||
Public Class SIGFacturacion : Implements IHttpHandler, IRequiresSessionState
|
||||
Public Class E194 : Implements IHttpHandler, System.Web.SessionState.IRequiresSessionState
|
||||
|
||||
Public ReadOnly Property IsReusable() As Boolean Implements IHttpHandler.IsReusable
|
||||
Get
|
||||
Return False
|
||||
End Get
|
||||
End Property
|
||||
|
||||
Private Property CveEmpresaFacturar As Integer = 194
|
||||
|
||||
Public Sub ProcessRequest(ByVal context As HttpContext) Implements IHttpHandler.ProcessRequest
|
||||
context.Response.ContentType = "text/plain"
|
||||
context.Response.ContentType = "text/html"
|
||||
Dim Retorno As Boolean = False
|
||||
|
||||
Try
|
||||
@@ -38,6 +43,7 @@ Public Class SIGFacturacion : Implements IHttpHandler, IRequiresSessionState
|
||||
ex.GuardaLog(ex.Message)
|
||||
End Try
|
||||
|
||||
context.Response.StatusCode = 200
|
||||
If Retorno Then
|
||||
context.Response.Write("True")
|
||||
Else
|
||||
@@ -46,23 +52,20 @@ Public Class SIGFacturacion : Implements IHttpHandler, IRequiresSessionState
|
||||
|
||||
End Sub
|
||||
|
||||
Public ReadOnly Property IsReusable() As Boolean Implements IHttpHandler.IsReusable
|
||||
Get
|
||||
Return False
|
||||
End Get
|
||||
End Property
|
||||
|
||||
Private Function IniciaFacturacionMasiva(pCveEmpresa As String, pFechaI As String, pFechaF As String) As Boolean
|
||||
Dim Retorno As Boolean = True
|
||||
Dim JsonRetorno As New JObject()
|
||||
Dim CveEmpresa As Integer = pCveEmpresa.ToEntero()
|
||||
|
||||
GuardaLogFacturacion("- Inicio de facturación ")
|
||||
If CveEmpresa > 0 Then
|
||||
GuardaLogFacturacion($"1.10 - CveE:{CveEmpresa}")
|
||||
Dim Usuario = ValidaUsuarioSistema(CveEmpresa)
|
||||
Dim FechaI, FechaF As DateTime
|
||||
|
||||
'EnviarCorreoFactura(New Modelos.Factura(Usuario, 844966, 1, context.ModExtensiones.DirectorioBaseEmpresas), Usuario)
|
||||
|
||||
If String.IsNullOrEmpty(pFechaI) AndAlso String.IsNullOrEmpty(pFechaF) Then
|
||||
GuardaLogFacturacion("1.200")
|
||||
Dim FechaReferencia As Date = ClsPaginas.NowADS()
|
||||
If FechaReferencia.DayOfWeek = DayOfWeek.Sunday Then
|
||||
Dim Sabado = FechaReferencia.AddDays(-1)
|
||||
@@ -77,13 +80,13 @@ Public Class SIGFacturacion : Implements IHttpHandler, IRequiresSessionState
|
||||
GuardaLogFacturacion("Ejecución no permitida, no es el dia permitido para ejecucion o no se espeficaron las fechas")
|
||||
End If
|
||||
Else
|
||||
GuardaLogFacturacion("1.300")
|
||||
FechaI = pFechaI.ToDateTime()
|
||||
FechaF = pFechaF.ToDateTime()
|
||||
|
||||
JsonRetorno = EjecutarFacturacionMasiva(Usuario, FechaI, FechaF, Usuario.Empresa.FacturaProduccion)
|
||||
End If
|
||||
End If
|
||||
|
||||
GuardaLogFacturacion("Ejecución Exitosa, se generaron las siguientes facturas:")
|
||||
GuardaLogFacturacion(JsonRetorno.ToString())
|
||||
|
||||
@@ -275,7 +278,7 @@ Public Class SIGFacturacion : Implements IHttpHandler, IRequiresSessionState
|
||||
ObjFactura.TipoMensajeRespuesta = Modelos.TipoMensajeRespuesta.TextoLimpio
|
||||
ObjFactura.Serie = Serie
|
||||
ObjFactura.Folio = Folio.ToEntero()
|
||||
ObjFactura.TipoMensajeRespuesta = TipoMensajeRespuesta.TextoLimpio
|
||||
ObjFactura.TipoMensajeRespuesta = Modelos.TipoMensajeRespuesta.TextoLimpio
|
||||
ObjFactura.Version = "4.0"
|
||||
ObjFactura.FolioFiscal = ""
|
||||
ObjFactura.CveUsuario = UsuarioActual.CveUsuario
|
||||
@@ -312,8 +315,9 @@ Public Class SIGFacturacion : Implements IHttpHandler, IRequiresSessionState
|
||||
ObjFactura.CveSubProyecto = CveSubProyecto
|
||||
ObjFactura.CveSubProyectoCobranza = CveSubProyecto
|
||||
ObjFactura.CveSubProyectoEjecucion = CveSubProyecto
|
||||
ObjFactura.SubProyecto = New SubProyectoModel(ClsPaginas.GlobalDTSubProyectos(UsuarioActual.CveEmpresa).FiltroPrimero(String.Format("CveSubProyecto = {0}", CveSubProyecto)))
|
||||
ObjFactura.SubProyectoMatriz = New SubProyectoModel(ClsPaginas.GlobalDTSubProyectos(UsuarioActual.CveEmpresa, CveSubProyecto:=-1 ).FiltroPrimero("TipoSucursal=1"))
|
||||
ObjFactura.SubProyecto = New Modelos.SubProyectoModel(ClsPaginas.GlobalDTSubProyectos(UsuarioActual.CveEmpresa).FiltroPrimero(String.Format("CveSubProyecto = {0}", CveSubProyecto)))
|
||||
ObjFactura.SubProyectoMatriz = New Modelos.SubProyectoModel(ClsPaginas.GlobalDTSubProyectos(UsuarioActual.CveEmpresa, CveSubProyecto:=-1).FiltroPrimero("TipoSucursal=1"))
|
||||
ObjFactura.SubProyectoMatriz = New Modelos.SubProyectoModel(ClsPaginas.GlobalDTSubProyectos(UsuarioActual.CveEmpresa, CveSubProyecto:=-1).FiltroPrimero("TipoSucursal=1"))
|
||||
|
||||
'CLIENTE
|
||||
ObjFactura.CveCliente = CveCliente
|
||||
@@ -423,7 +427,7 @@ Public Class SIGFacturacion : Implements IHttpHandler, IRequiresSessionState
|
||||
Timbre.Comprobante.FormadePago = Obj.FormaPagoSAT33
|
||||
Timbre.Comprobante.CondicionesdePago = Obj.FormaPago33
|
||||
Timbre.Comprobante.MetodoPago = Obj.ClaveMetodoPagoSAT
|
||||
Timbre.Comprobante.Subtotal = Obj.SubTotal
|
||||
Timbre.Comprobante.SubTotal = Obj.SubTotal
|
||||
Timbre.Comprobante.Descuentos = Obj.Descuento
|
||||
Timbre.Comprobante.Moneda = Obj.MonedaSAT
|
||||
Timbre.Comprobante.TipoCambio = If(Obj.CveMoneda = 1, "1", Obj.TipoCambio.ToString)
|
||||
@@ -906,7 +910,7 @@ Public Class SIGFacturacion : Implements IHttpHandler, IRequiresSessionState
|
||||
' strLineaTMP = Chr(13) & Chr(10) & Day(NowADS()) & "/" & Month(NowADS()) & "/" & Year(NowADS()) & " " & Hour(NowADS()) & ":" & Minuto & ". " & Str & Chr(13) & Chr(10)
|
||||
strLineaTMP = String.Format("{0}{1}Log: {2}{3}:{4}", Chr(13), Chr(10), Str, ClsPaginas.NowADS().ToShortDateString, ClsPaginas.NowADS().ToShortTimeString)
|
||||
Try
|
||||
ArchivoW = New StreamWriter(String.Format("{0}\Log\LogFacturacion.txt", AppDomain.CurrentDomain.BaseDirectory), True, System.Text.Encoding.UTF8)
|
||||
ArchivoW = New StreamWriter(String.Format("{0}\Log\LogE194.txt", AppDomain.CurrentDomain.BaseDirectory), True, System.Text.Encoding.UTF8)
|
||||
Catch ex As UnauthorizedAccessException
|
||||
'Alert("No hay permisos para guardar en el Log.", Extensiones.TipoMensaje.MsgError)
|
||||
Exit Sub
|
||||
@@ -923,7 +927,4 @@ Public Class SIGFacturacion : Implements IHttpHandler, IRequiresSessionState
|
||||
ArchivoW.Dispose()
|
||||
End Sub
|
||||
|
||||
|
||||
|
||||
|
||||
End Class
|
||||
@@ -913,6 +913,20 @@
|
||||
</ajax:TabPanel>
|
||||
|
||||
</ajax:TabContainer>
|
||||
<asp:UpdatePanel ID="UPPCompara" runat="server" UpdateMode="Conditional">
|
||||
<ContentTemplate>
|
||||
<asp:GridView ID="GvComparativo" runat="server" AutoGenerateColumns="False"
|
||||
CssClass="table table-hover table-striped ScrollAD mysmallbtn" GridLines="None">
|
||||
<Columns>
|
||||
<asp:BoundField HeaderText="Cuenta" DataField="CuentaFormatoNombre" ItemStyle-Width="400" ItemStyle-HorizontalAlign="Left" />
|
||||
<asp:BoundField HeaderText="$ ME" DataField="Importe" ItemStyle-Width="100" DataFormatString="{0:N2}" ItemStyle-HorizontalAlign="Right" />
|
||||
<asp:BoundField HeaderText="$ Complementario" DataField="ImporteComp" ItemStyle-Width="100" DataFormatString="{0:N2}" ItemStyle-HorizontalAlign="Right" />
|
||||
<asp:BoundField HeaderText="Fluctuación" DataField="Diferencia" ItemStyle-Width="100" DataFormatString="{0:N2}" ItemStyle-HorizontalAlign="Right" />
|
||||
<asp:BoundField DataField="TC" HeaderText="TipoCambio" ItemStyle-HorizontalAlign="Right" />
|
||||
</Columns>
|
||||
</asp:GridView>
|
||||
</ContentTemplate>
|
||||
</asp:UpdatePanel>
|
||||
</ContentTemplate>
|
||||
</asp:UpdatePanel>
|
||||
</asp:Content>
|
||||
|
||||
@@ -28,6 +28,7 @@ Partial Class Bancos_FluctuacionCambiaria
|
||||
Protected Sub Page_Load(sender As Object, e As System.EventArgs) Handles Me.Load
|
||||
If Not Page.IsPostBack Then
|
||||
CargaFechas()
|
||||
|
||||
CargarCentrosDeCosto(Nothing, DdlSubProyectoCompras, Nothing, LblSubProyectoCompras, "")
|
||||
CargarCentrosDeCosto(Nothing, DdlSubProyectoComprasAnt, Nothing, LblSubProyectoComprasAnt, "")
|
||||
CargarCentrosDeCosto(Nothing, DdlsubProyectoVentas, Nothing, LblSubProyectoVentas, "")
|
||||
@@ -60,10 +61,10 @@ Partial Class Bancos_FluctuacionCambiaria
|
||||
DdlMes.Items.Add(New ListItem(mesStr, i.ToString()))
|
||||
Next
|
||||
|
||||
Dim UltimaFluctuacion As MTipoCambioFluctuacion = GlobalTipoCambioUltimaFluctuacion(NowADS())
|
||||
Dim UltimaFluctuacion As MTipoCambioFluctuacion = GlobalTipoCambioUltimaFluctuacion(NowADS().AddMonths(-1))
|
||||
If UltimaFluctuacion IsNot Nothing Then
|
||||
DdlMes.SelectedValueExist(UltimaFluctuacion.FechaFluctuacion.Month)
|
||||
DdlMes.SelectedValueExist(UltimaFluctuacion.FechaFluctuacion.Year)
|
||||
DdlAnio.SelectedValueExist(UltimaFluctuacion.FechaFluctuacion.Year)
|
||||
End If
|
||||
|
||||
End Sub
|
||||
@@ -85,6 +86,7 @@ Partial Class Bancos_FluctuacionCambiaria
|
||||
If T.ActiveTabIndex = 7 Then CargaDatosAcreedoresDiversos() 'CargaDatosFiliales()
|
||||
If T.ActiveTabIndex = 8 Then CargaDatosDeudores()
|
||||
UpTabs.Update()
|
||||
UPPCompara.Update()
|
||||
End Sub
|
||||
|
||||
Private Sub CargaTipoCambio()
|
||||
@@ -103,14 +105,16 @@ Partial Class Bancos_FluctuacionCambiaria
|
||||
|
||||
If UltimaFluctuacion IsNot Nothing Then
|
||||
LtlUltimaFluctuacion.Text = String.Format("Ultima Fluctuación : {0}", UltimaFluctuacion.FechaFluctuacion.ToShortDateString)
|
||||
'si la ultima fluctuacion es mayor o igual al fin de mes anterior, entonces pon la fecha actual
|
||||
If UltimaFluctuacion.FechaFluctuacion >= NowADS().AddMonths(-1).LastDayOfMonth Then
|
||||
DdlMes.SelectedValueExist(NowADS().Month)
|
||||
DdlAnio.SelectedValueExist(NowADS().Year)
|
||||
Else
|
||||
DdlMes.SelectedValueExist(NowADS().AddMonths(-1).Month)
|
||||
DdlAnio.SelectedValueExist(NowADS().AddMonths(-1).Year)
|
||||
End If
|
||||
DdlMes.SelectedValueExist(NowADS().AddMonths(-1).Month)
|
||||
DdlAnio.SelectedValueExist(NowADS().AddMonths(-1).Year)
|
||||
''si la ultima fluctuacion es mayor o igual al fin de mes anterior, entonces pon la fecha actual
|
||||
'If UltimaFluctuacion.FechaFluctuacion >= NowADS().AddMonths(-1).LastDayOfMonth Then
|
||||
' DdlMes.SelectedValueExist(NowADS().Month)
|
||||
' DdlAnio.SelectedValueExist(NowADS().Year)
|
||||
'Else
|
||||
' DdlMes.SelectedValueExist(NowADS().AddMonths(-1).Month)
|
||||
' DdlAnio.SelectedValueExist(NowADS().AddMonths(-1).Year)
|
||||
'End If
|
||||
End If
|
||||
|
||||
CargaTipoCambio()
|
||||
@@ -145,14 +149,18 @@ Partial Class Bancos_FluctuacionCambiaria
|
||||
LblComprasPerdidaGanancia.Text = If(Final < 0, "Ganancia", "Pérdida")
|
||||
|
||||
LblTotal = ObjBancos.DtResultados.SUM("Fluctuacion").FormatoNumero
|
||||
|
||||
End If
|
||||
Dim tdt As DataTable = VerificacionFluctuacion(1, FechaUltimoDiaMes)
|
||||
LtIndicador_ExistenciaPerdida.Text = tdt.SUMD("Diferencia").FormatoNumero
|
||||
LtIndicador_ValorPesosGanancia.Text = ""
|
||||
LtIndicador_CPPesosFinal.Text = ""
|
||||
End If
|
||||
ObjBancos.Dispose()
|
||||
GvProveedores.DataBind()
|
||||
UpIndicadores.Visible = True
|
||||
If GvProveedores.Rows.Count > 0 Then
|
||||
GvProveedores.Rows(GvProveedores.Rows.Count - 1).CssClass = "SubTotales2"
|
||||
End If
|
||||
End If
|
||||
|
||||
End Sub
|
||||
|
||||
Private Sub CargaDatosProveedoresAnticipos()
|
||||
@@ -183,10 +191,11 @@ Partial Class Bancos_FluctuacionCambiaria
|
||||
LblComprasPerdidaGanancia.Text = If(Final > 0, "Ganancia", "Pérdida")
|
||||
|
||||
LblTotal = ObjBancos.DtResultados.SUM("Fluctuacion").FormatoNumero
|
||||
VerificacionFluctuacion(2, FechaUltimoDiaMes)
|
||||
|
||||
End If
|
||||
ObjBancos.Dispose()
|
||||
GvProveedoresAnt.DataBind()
|
||||
GvProveedoresAnt.DataBind()
|
||||
UpIndicadores.Visible = True
|
||||
|
||||
End Sub
|
||||
@@ -223,6 +232,11 @@ Partial Class Bancos_FluctuacionCambiaria
|
||||
|
||||
UpIndicadoresVentas.Visible = True
|
||||
|
||||
Dim tdt As DataTable = VerificacionFluctuacion(3, FechaUltimoDiaMes)
|
||||
LtIndicador_PerdidasVentas.Text = tdt.SUMD("Diferencia").FormatoNumero
|
||||
LtIndicador_GanaciaVentas.Text = ""
|
||||
LtIndicador_FinalVentas.Text = ""
|
||||
|
||||
End If
|
||||
ObjBancos.Dispose()
|
||||
GvVentas.DataBind()
|
||||
@@ -257,7 +271,7 @@ Partial Class Bancos_FluctuacionCambiaria
|
||||
LblTotalVentasAnt.Text = ObjBancos.DtResultados.SUM("Fluctuacion").FormatoNumero
|
||||
|
||||
UpIndicadoresVentas.Visible = True
|
||||
|
||||
VerificacionFluctuacion(4, FechaUltimoDiaMes)
|
||||
End If
|
||||
ObjBancos.Dispose()
|
||||
GvClientesAnt.DataBind()
|
||||
@@ -278,6 +292,7 @@ Partial Class Bancos_FluctuacionCambiaria
|
||||
HplAcreedorLiga.NavigateUrl = String.Format("/Contabilidad/RegPrePolizas.aspx?CvePrePoliza={0}", ObjBancos.DtResultados.MAX("CvePrePoliza").ToString)
|
||||
GvAcreedores.DataSource = ObjBancos.DtResultados
|
||||
LblTotalAcreedores.Text = ObjBancos.DtResultados.SUM("Fluctuacion").FormatoNumero
|
||||
VerificacionFluctuacion(5, FechaUltimoDiaMes)
|
||||
Else
|
||||
GvAcreedores.DataSource = Nothing
|
||||
Alert("Ocurrio un error al cargar los acreedores", TipoMensaje.MsgAdvertencia)
|
||||
@@ -298,7 +313,8 @@ Partial Class Bancos_FluctuacionCambiaria
|
||||
HplAcreedorAntLiga.Visible = HdnAcreedorAntCvePrePoliza.Value.ToEntero > 0
|
||||
HplAcreedorAntLiga.NavigateUrl = String.Format("/Contabilidad/RegPrePolizas.aspx?CvePrePoliza={0}", ObjBancos.DtResultados.MAX("CvePrePoliza").ToString)
|
||||
GvAcreedoresAnt.DataSource = ObjBancos.DtResultados
|
||||
LblTotalAcreedoresAnt.Text = ObjBancos.DtResultados.SUM("Fluctuacion").FormatoNumero
|
||||
LblTotalAcreedoresAnt.Text = ObjBancos.DtResultados.SUM("Fluctuacion").FormatoNumero
|
||||
VerificacionFluctuacion(6, FechaUltimoDiaMes)
|
||||
Else
|
||||
GvAcreedoresAnt.DataSource = Nothing
|
||||
Alert("Ocurrio un error al cargar los acreedores", TipoMensaje.MsgAdvertencia)
|
||||
@@ -325,6 +341,7 @@ Partial Class Bancos_FluctuacionCambiaria
|
||||
|
||||
GvCuentas.DataSource = DtTemp
|
||||
LblTotalBancos.Text = TotAcumulado.FormatoNumero
|
||||
VerificacionFluctuacion(77, FechaUltimoDiaMes)
|
||||
Else
|
||||
GvCuentas.DataSource = Nothing
|
||||
Alert("Ocurrio un error al cargar las cuentas", TipoMensaje.MsgAdvertencia)
|
||||
@@ -339,6 +356,7 @@ Partial Class Bancos_FluctuacionCambiaria
|
||||
If ObjBancos.GetFluctuaciones(FechaUltimoDiaMes, 9, UsuarioActual.CveEmpresa) Then
|
||||
GvDeudores.DataSource = ObjBancos.DtResultados
|
||||
LblTotalDeudores.Text = ObjBancos.DtResultados.SUM("Fluctuacion").FormatoNumero
|
||||
VerificacionFluctuacion(9, FechaUltimoDiaMes)
|
||||
Else
|
||||
GvDeudores.DataSource = Nothing
|
||||
Alert("Ocurrio un error al cargar los deudores", TipoMensaje.MsgAdvertencia)
|
||||
@@ -354,6 +372,7 @@ Partial Class Bancos_FluctuacionCambiaria
|
||||
If ObjBancos.GetFluctuaciones(FechaUltimoDiaMes, 88, UsuarioActual.CveEmpresa) Then
|
||||
GvFiliales.DataSource = ObjBancos.DtResultados.FiltraParametros("Saldo > 0")
|
||||
LblTotalAcreedores.Text = ObjBancos.DtResultados.SUM("Fluctuacion").FormatoNumero
|
||||
VerificacionFluctuacion(88, FechaUltimoDiaMes)
|
||||
Else
|
||||
GvFiliales.DataSource = Nothing
|
||||
Alert("Ocurrio un error al cargar los acreedores", TipoMensaje.MsgAdvertencia)
|
||||
@@ -392,14 +411,12 @@ Partial Class Bancos_FluctuacionCambiaria
|
||||
Dim Total As Decimal = 0
|
||||
Dim Conta As New ClsContabilidad
|
||||
Dim Banco As New ClsBancos(Conta.IniciaTransacSQL())
|
||||
Dim CvePrePoliza As Integer = Conta.AddPrePolizas("Banc/FluctuaC", 1, 0, 0, 1, FechaUltimoDiaMes, TxtConceptoCompras.Text, UsuarioActual.CveUsuario, UsuarioActual.CveEmpresa)
|
||||
|
||||
Dim CveCuentaPerdida, CveCuentaGanancia As Integer
|
||||
Dim CvePrePoliza As Integer = Conta.AddPrePolizas("Banc/FluctuaC", 1, 0, 0, 1, FechaUltimoDiaMes, TxtConceptoCompras.Text, UsuarioActual.CveUsuario, UsuarioActual.CveEmpresa)
|
||||
Dim CveCompra, CveProv As Integer
|
||||
Dim TipoMovto As Boolean = False
|
||||
Dim CveConceptoContable As Integer = 0
|
||||
Dim ErrorRegistrar As Boolean = False
|
||||
CveCuentaPerdida = 0 '55379
|
||||
CveCuentaGanancia = 0 ' 55382
|
||||
|
||||
Dim TC As Decimal = 2 ' se pone 2, para que cumpla con el check constrains de complementarias
|
||||
|
||||
Total = LblTotal.ToDecimal
|
||||
@@ -425,6 +442,8 @@ Partial Class Bancos_FluctuacionCambiaria
|
||||
'saco las cuentas de pérdida y ganancia
|
||||
For Each gvr As GridViewRow In GvProveedores.Rows
|
||||
Total = gvr.DataKey("Fluctuacion").ToDecimal
|
||||
CveCompra = gvr.DataKey("CveCompra").ToEntero
|
||||
CveProv = gvr.DataKey("CveProveedor").ToEntero
|
||||
'movimiento de complementaria
|
||||
If Not Conta.AddPrePolizasDetalle(CvePrePoliza, True, Total, Total, gvr.DataKey("CveConceptoContable").ToEntero, gvr.DataKey("SerieFolio"), gvr.DataKey("SerieFolio"), CveCompra:=gvr.DataKey("CveCompra").ToEntero, TipoCambio:=TC, TipoCambioPago:=gvr.DataKey("TipoCambio").ToDecimal, ImporteME:=Total, CveIE:=gvr.DataKey("CveIE").ToEntero, CveProveedor:=gvr.DataKey("CveProveedor").ToEntero) Then
|
||||
ErrorRegistrar = True
|
||||
@@ -441,6 +460,11 @@ Partial Class Bancos_FluctuacionCambiaria
|
||||
ErrorRegistrar = True
|
||||
End If
|
||||
|
||||
'VERIFICACION DE IMPORTES Y AJUSTE
|
||||
If Not ErrorRegistrar AndAlso AjusteFluctuacion(CvePrePoliza, 1, 201, FechaUltimoDiaMes, Conta, CveCompra:=CveCompra, CveProveedor:=CveProv) Then
|
||||
ErrorRegistrar = True
|
||||
End If
|
||||
|
||||
If Not ErrorRegistrar AndAlso Not Conta.ValidacionesPrePoliza(CvePrePoliza, UsuarioActual) Then
|
||||
ErrorRegistrar = True
|
||||
End If
|
||||
@@ -569,24 +593,25 @@ Partial Class Bancos_FluctuacionCambiaria
|
||||
End If
|
||||
|
||||
Dim CveConconceptoCliente As Integer = 203
|
||||
|
||||
Dim CveVenta, CveCliente As Integer
|
||||
'saco las cuentas de pérdida y ganancia
|
||||
For Each gvr As GridViewRow In GvVentas.Rows
|
||||
Total = -gvr.DataKey("Fluctuacion").ToDecimal
|
||||
|
||||
If (gvr.DataKey("CveIE").ToEntero > 0 AndAlso gvr.DataKey("CveVenta").ToEntero < 0) OrElse (gvr.DataKey("CveVenta").ToEntero > 0 AndAlso gvr.DataKey("TipoDocto") = "Ant") Then
|
||||
CveVenta = gvr.DataKey("CveVenta").ToEntero
|
||||
CveCliente = gvr.DataKey("CveCliente").ToEntero
|
||||
If (gvr.DataKey("CveIE").ToEntero > 0 AndAlso CveVenta < 0) OrElse (CveVenta > 0 AndAlso gvr.DataKey("TipoDocto") = "Ant") Then
|
||||
CveConconceptoCliente = 226
|
||||
Else
|
||||
CveConconceptoCliente = 203
|
||||
End If
|
||||
|
||||
'movimiento de complementaria
|
||||
If Not Conta.AddPrePolizasDetalle(CvePrePoliza, False, Total, Total, CveConconceptoCliente, gvr.DataKey("SerieFolio"), gvr.DataKey("SerieFolio"), CveVenta:=gvr.DataKey("CveVenta").ToEntero, TipoCambio:=TC, TipoCambioPago:=gvr.DataKey("TipoCambio").ToDecimal, ImporteME:=Total, CveIE:=gvr.DataKey("CveIE").ToEntero, CveCliente:=gvr.DataKey("CveCliente").ToEntero) Then
|
||||
If Not Conta.AddPrePolizasDetalle(CvePrePoliza, False, Total, Total, CveConconceptoCliente, gvr.DataKey("SerieFolio"), gvr.DataKey("SerieFolio"), CveVenta:=CveVenta, TipoCambio:=TC, TipoCambioPago:=gvr.DataKey("TipoCambio").ToDecimal, ImporteME:=Total, CveIE:=gvr.DataKey("CveIE").ToEntero, CveCliente:=CveCliente) Then
|
||||
ErrorRegistrar = True
|
||||
Exit For
|
||||
End If
|
||||
|
||||
If Not Conta.UpdateTCValuacion(gvr.DataKey("CveVenta").ToEntero, -1, gvr.DataKey("CveIE").ToEntero, TCUltimaFluctuacion, UsuarioActual.CveEmpresa) Then
|
||||
If Not Conta.UpdateTCValuacion(CveVenta, -1, gvr.DataKey("CveIE").ToEntero, TCUltimaFluctuacion, UsuarioActual.CveEmpresa) Then
|
||||
ErrorRegistrar = True
|
||||
Exit For
|
||||
End If
|
||||
@@ -595,6 +620,12 @@ Partial Class Bancos_FluctuacionCambiaria
|
||||
If Not ErrorRegistrar AndAlso Not Banco.UpdateFluctuacionesBitacoraPrePoliza(CvePrePoliza, 3, HdnCveFluctuacionBitacora.Value.ToEntero, UsuarioActual.CveEmpresa) Then
|
||||
ErrorRegistrar = True
|
||||
End If
|
||||
|
||||
'VERIFICACION DE IMPORTES Y AJUSTE
|
||||
If Not ErrorRegistrar AndAlso AjusteFluctuacion(CvePrePoliza, 3, 203, FechaUltimoDiaMes, Conta, CveVenta:=CveVenta, CveCliente:=CveCliente) Then
|
||||
ErrorRegistrar = True
|
||||
End If
|
||||
|
||||
If Not ErrorRegistrar AndAlso Not Conta.ValidacionesPrePoliza(CvePrePoliza, UsuarioActual) Then
|
||||
ErrorRegistrar = True
|
||||
End If
|
||||
@@ -611,6 +642,46 @@ Partial Class Bancos_FluctuacionCambiaria
|
||||
Conta.Dispose()
|
||||
End Sub
|
||||
|
||||
Private Function AjusteFluctuacion(CvePrePoliza As Integer, TipoFluctuacion As Integer, CveConcepto As Integer, FechaUltimoDaMes As Date, ByRef ObjConta As ClsContabilidad, Optional CveVenta As Integer = -1, Optional CveCliente As Integer = -1, Optional CveCompra As Integer = -1, Optional CveProveedor As Integer = -1) As Boolean
|
||||
If UsuarioActual.CveEmpresa <> 119 Then Return True
|
||||
Dim ErrorRegistrar As Boolean = False
|
||||
Dim tdt As DataTable = VerificacionFluctuacion(TipoFluctuacion, FechaUltimoDiaMes)
|
||||
'ajustar las cuentas.
|
||||
Dim AjusteTotal As Decimal = tdt.SUMD("Diferencia")
|
||||
Dim tTipoMovto As Boolean = If(TipoFluctuacion.Contiene(2, 3, 6), False, True) 'LAS OPCIONES QUE SE CARGAN
|
||||
If tdt IsNot Nothing Then
|
||||
For Each dr As DataRow In tdt.FiltraParametros("Diferencia <> 0").Rows
|
||||
Dim imp As Decimal = dr("Diferencia").ToString.ToDecimal * -1
|
||||
If Not ObjConta.AddPrePolizasDetalle(CvePrePoliza, tTipoMovto, imp, imp, CveConcepto, "Fluctuación", "Fluctuación", CveVenta:=CveVenta, TipoCambio:=2, ImporteME:=imp, CveCliente:=CveCliente, CveCompra:=CveCompra, CveProveedor:=CveProveedor, CveCuenta:=dr("CveCuentaComplementaria").ToString.ToEntero) Then
|
||||
ErrorRegistrar = True
|
||||
Exit For
|
||||
End If
|
||||
Next
|
||||
'ajustar el importe
|
||||
If AjusteTotal <> 0 AndAlso ObjConta.GetPrePolizasDetalle(CvePrePoliza, UsuarioActual.CveEmpresa) Then
|
||||
Dim dr As DataRow = ObjConta.DtResultados.FiltroPrimero("CveConceptoContable in (64,65)")
|
||||
If dr IsNot Nothing Then
|
||||
Dim tcvePrePDetalle As Integer = dr("CvePrePolizaDetalle").ToString.ToEntero
|
||||
Dim tCveConcepto As Integer = dr("CveConceptoContable").ToString.ToEntero
|
||||
'If dr("CveConceptoContable").ToString = "65" Then
|
||||
' AjusteTotal = AjusteTotal + dr("Importe").ToString.ToDecimal
|
||||
'End If
|
||||
tTipoMovto = dr("TipoMovto").ToString.ToBool
|
||||
AjusteTotal = AjusteTotal + dr("Importe").ToString.ToDecimal
|
||||
If AjusteTotal < 0 Then
|
||||
AjusteTotal = Math.Abs(AjusteTotal) ' ' si hay cambio de fluctuacion de pérdida a ganancia, o viceversas
|
||||
tTipoMovto = Not tTipoMovto
|
||||
If tTipoMovto Then tCveConcepto = 64 Else tCveConcepto = 65
|
||||
End If
|
||||
ObjConta.UpdatePrePolizasDetalle(dr("CvePrePolizaDetalle").ToString.ToEntero, dr("Concepto").ToString, -1, -1, tTipoMovto,
|
||||
CveConceptoContable:=tCveConcepto, ImporteMN:=AjusteTotal, Importe:=AjusteTotal)
|
||||
End If
|
||||
End If
|
||||
End If
|
||||
|
||||
Return ErrorRegistrar
|
||||
End Function
|
||||
|
||||
Protected Sub BtnClientesAnticipos_Click(sender As Object, e As EventArgs)
|
||||
Dim Total As Decimal = 0
|
||||
Dim TipoMovto As Boolean = False
|
||||
@@ -648,24 +719,25 @@ Partial Class Bancos_FluctuacionCambiaria
|
||||
End If
|
||||
|
||||
Dim CveConconceptoCliente As Integer = 203
|
||||
|
||||
Dim CveVenta, CveCliente As Integer
|
||||
'saco las cuentas de pérdida y ganancia
|
||||
For Each gvr As GridViewRow In GvClientesAnt.Rows
|
||||
Total = gvr.DataKey("Fluctuacion").ToDecimal
|
||||
|
||||
If (gvr.DataKey("CveIE").ToEntero > 0 AndAlso gvr.DataKey("CveVenta").ToEntero < 0) OrElse (gvr.DataKey("CveVenta").ToEntero > 0 AndAlso gvr.DataKey("TipoDocto") = "Ant") Then
|
||||
CveVenta = gvr.DataKey("CveVenta").ToEntero
|
||||
CveCliente = -1
|
||||
If (gvr.DataKey("CveIE").ToEntero > 0 AndAlso CveVenta < 0) OrElse (CveVenta > 0 AndAlso gvr.DataKey("TipoDocto") = "Ant") Then
|
||||
CveConconceptoCliente = 226
|
||||
Else
|
||||
CveConconceptoCliente = 203
|
||||
End If
|
||||
|
||||
'movimiento de complementaria
|
||||
If Not Conta.AddPrePolizasDetalle(CvePrePoliza, True, Total, Total, CveConconceptoCliente, gvr.DataKey("SerieFolio"), gvr.DataKey("SerieFolio"), CveVenta:=gvr.DataKey("CveVenta").ToEntero, TipoCambio:=TC, TipoCambioPago:=gvr.DataKey("TipoCambio").ToDecimal, ImporteME:=Total, CveIE:=gvr.DataKey("CveIE").ToEntero) Then
|
||||
If Not Conta.AddPrePolizasDetalle(CvePrePoliza, True, Total, Total, CveConconceptoCliente, gvr.DataKey("SerieFolio"), gvr.DataKey("SerieFolio"), CveVenta:=CveVenta, TipoCambio:=TC, TipoCambioPago:=gvr.DataKey("TipoCambio").ToDecimal, ImporteME:=Total, CveIE:=gvr.DataKey("CveIE").ToEntero) Then
|
||||
ErrorRegistrar = True
|
||||
Exit For
|
||||
End If
|
||||
|
||||
If Not Conta.UpdateTCValuacion(gvr.DataKey("CveVenta").ToEntero, -1, gvr.DataKey("CveIE").ToEntero, TCUltimaFluctuacion, UsuarioActual.CveEmpresa) Then
|
||||
If Not Conta.UpdateTCValuacion(CveVenta, -1, gvr.DataKey("CveIE").ToEntero, TCUltimaFluctuacion, UsuarioActual.CveEmpresa) Then
|
||||
ErrorRegistrar = True
|
||||
Exit For
|
||||
End If
|
||||
@@ -674,6 +746,12 @@ Partial Class Bancos_FluctuacionCambiaria
|
||||
If Not ErrorRegistrar AndAlso Not Banco.UpdateFluctuacionesBitacoraPrePoliza(CvePrePoliza, 4, HdnCveFluctuacionBitacora.Value.ToEntero, UsuarioActual.CveEmpresa) Then
|
||||
ErrorRegistrar = True
|
||||
End If
|
||||
|
||||
'VERIFICACION DE IMPORTES Y AJUSTE
|
||||
If Not ErrorRegistrar AndAlso AjusteFluctuacion(CvePrePoliza, 4, 226, FechaUltimoDiaMes, Conta, CveVenta:=CveVenta, CveCliente:=CveCliente) Then
|
||||
ErrorRegistrar = True
|
||||
End If
|
||||
|
||||
If Not ErrorRegistrar AndAlso Not Conta.ValidacionesPrePoliza(CvePrePoliza, UsuarioActual) Then
|
||||
ErrorRegistrar = True
|
||||
End If
|
||||
@@ -708,6 +786,7 @@ Partial Class Bancos_FluctuacionCambiaria
|
||||
Dim TipoMovto As Boolean = False
|
||||
Dim CveConceptoContable As Integer = 0
|
||||
Dim ErrorRegistrar As Boolean = False
|
||||
Dim CveCompra, CveProv As Integer
|
||||
Dim TC As Decimal = 2 ' se pone 2, para que cumpla con el check constrains de complementarias
|
||||
|
||||
Total = LblTotalAcreedores.Text.ToDecimal
|
||||
@@ -733,6 +812,8 @@ Partial Class Bancos_FluctuacionCambiaria
|
||||
'saco las cuentas de pérdida y ganancia
|
||||
For Each gvr As GridViewRow In GvAcreedores.Rows
|
||||
Total = gvr.DataKey("Fluctuacion").ToDecimal
|
||||
CveCompra = gvr.DataKey("CveCompra").ToEntero
|
||||
CveProv = gvr.DataKey("CveProveedor").ToEntero
|
||||
'movimiento de complementaria
|
||||
If Not Conta.AddPrePolizasDetalle(CvePrePoliza, True, Total, Total, 307, gvr.DataKey("SerieFolio"), gvr.DataKey("SerieFolio"), CveCompra:=gvr.DataKey("CveCompra").ToEntero, TipoCambio:=TC, TipoCambioPago:=gvr.DataKey("TipoCambio").ToDecimal, ImporteME:=Total, CveIE:=gvr.DataKey("CveIE").ToEntero, CveProveedor:=gvr.DataKey("CveProveedor").ToEntero) Then
|
||||
ErrorRegistrar = True
|
||||
@@ -748,6 +829,12 @@ Partial Class Bancos_FluctuacionCambiaria
|
||||
If Not ErrorRegistrar AndAlso Not Banco.UpdateFluctuacionesBitacoraPrePoliza(CvePrePoliza, 5, CveBitacora, UsuarioActual.CveEmpresa) Then
|
||||
ErrorRegistrar = True
|
||||
End If
|
||||
|
||||
'VERIFICACION DE IMPORTES Y AJUSTE
|
||||
If Not ErrorRegistrar AndAlso AjusteFluctuacion(CvePrePoliza, 5, 307, FechaUltimoDiaMes, Conta, CveCompra:=CveCompra, CveProveedor:=CVEPROV) Then
|
||||
ErrorRegistrar = True
|
||||
End If
|
||||
|
||||
If Not ErrorRegistrar AndAlso Not Conta.ValidacionesPrePoliza(CvePrePoliza, UsuarioActual) Then
|
||||
ErrorRegistrar = True
|
||||
End If
|
||||
@@ -774,6 +861,7 @@ Partial Class Bancos_FluctuacionCambiaria
|
||||
Dim TipoMovto As Boolean = False
|
||||
Dim CveConceptoContable As Integer = 0
|
||||
Dim ErrorRegistrar As Boolean = False
|
||||
Dim CveCompra, CveProv As Integer
|
||||
Dim TC As Decimal = 2 ' se pone 2, para que cumpla con el check constrains de complementarias
|
||||
|
||||
Total = LblTotalAcreedoresAnt.Text.ToDecimal
|
||||
@@ -799,7 +887,8 @@ Partial Class Bancos_FluctuacionCambiaria
|
||||
'saco las cuentas de pérdida y ganancia
|
||||
For Each gvr As GridViewRow In GvAcreedoresAnt.Rows
|
||||
Total = gvr.DataKey("Fluctuacion").ToDecimal
|
||||
|
||||
CveCompra = gvr.DataKey("CveCompra").ToEntero
|
||||
CveProv = gvr.DataKey("CveProveedor").ToEntero
|
||||
'movimiento de complementaria
|
||||
If Not Conta.AddPrePolizasDetalle(CvePrePoliza, False, Total, Total, 347, gvr.DataKey("SerieFolio"), gvr.DataKey("SerieFolio"), CveCompra:=gvr.DataKey("CveCompra").ToEntero, CveProveedor:=gvr.DataKey("CveProveedor").ToEntero, TipoCambio:=TC, TipoCambioPago:=gvr.DataKey("TipoCambio").ToDecimal, ImporteME:=Total, CveIE:=gvr.DataKey("CveIE").ToEntero) Then
|
||||
ErrorRegistrar = True
|
||||
@@ -815,6 +904,10 @@ Partial Class Bancos_FluctuacionCambiaria
|
||||
If Not ErrorRegistrar AndAlso Not Banco.UpdateFluctuacionesBitacoraPrePoliza(CvePrePoliza, 6, CveBitacora, UsuarioActual.CveEmpresa) Then
|
||||
ErrorRegistrar = True
|
||||
End If
|
||||
'VERIFICACION DE IMPORTES Y AJUSTE
|
||||
If Not ErrorRegistrar AndAlso AjusteFluctuacion(CvePrePoliza, 6, 347, FechaUltimoDiaMes, Conta, CveCompra:=CveCompra, CveProveedor:=CveProv) Then
|
||||
ErrorRegistrar = True
|
||||
End If
|
||||
If Not ErrorRegistrar AndAlso Not Conta.ValidacionesPrePoliza(CvePrePoliza, UsuarioActual) Then
|
||||
ErrorRegistrar = True
|
||||
End If
|
||||
@@ -1296,4 +1389,20 @@ Partial Class Bancos_FluctuacionCambiaria
|
||||
End If
|
||||
Banco.Dispose()
|
||||
End Sub
|
||||
|
||||
|
||||
#Region "VERIFICACION "
|
||||
Private Function VerificacionFluctuacion(Opcion As Integer, Fecha As Date) As DataTable
|
||||
Dim tdt As DataTable = Nothing
|
||||
Dim Conta As New ClsContabilidad
|
||||
If Conta.GetAjusteFluctuacion(Opcion, Fecha, UsuarioActual.CveEmpresa) Then
|
||||
tdt = Conta.DtResultados
|
||||
GvComparativo.DataSource = tdt
|
||||
End If
|
||||
Conta.Dispose()
|
||||
GvComparativo.DataBind()
|
||||
Return tdt
|
||||
End Function
|
||||
#End Region
|
||||
|
||||
End Class
|
||||
|
||||
Binary file not shown.
BIN
Bin/BouncyCastle.Crypto.dll.refresh
Normal file
BIN
Bin/BouncyCastle.Crypto.dll.refresh
Normal file
Binary file not shown.
File diff suppressed because it is too large
Load Diff
BIN
Bin/Mail.dll
Normal file
BIN
Bin/Mail.dll
Normal file
Binary file not shown.
Binary file not shown.
BIN
Bin/Microsoft.Bcl.AsyncInterfaces.dll.refresh
Normal file
BIN
Bin/Microsoft.Bcl.AsyncInterfaces.dll.refresh
Normal file
Binary file not shown.
@@ -151,6 +151,10 @@
|
||||
<member name="T:System.Runtime.CompilerServices.ConfiguredAsyncDisposable">
|
||||
<summary>Provides a type that can be used to configure how awaits on an <see cref="T:System.IAsyncDisposable"/> are performed.</summary>
|
||||
</member>
|
||||
<member name="M:System.Runtime.CompilerServices.ConfiguredAsyncDisposable.DisposeAsync">
|
||||
<summary>Asynchronously releases the unmanaged resources used by the <see cref="T:System.Runtime.CompilerServices.ConfiguredAsyncDisposable" />.</summary>
|
||||
<returns>A task that represents the asynchronous dispose operation.</returns>
|
||||
</member>
|
||||
<member name="T:System.Runtime.CompilerServices.ConfiguredCancelableAsyncEnumerable`1">
|
||||
<summary>Provides an awaitable async enumerable that enables cancelable iteration and configured awaits.</summary>
|
||||
</member>
|
||||
@@ -166,6 +170,10 @@
|
||||
<returns>The configured enumerable.</returns>
|
||||
<remarks>This will replace any previous <see cref="T:System.Threading.CancellationToken"/> set by <see cref="M:System.Runtime.CompilerServices.ConfiguredCancelableAsyncEnumerable`1.WithCancellation(System.Threading.CancellationToken)"/> for this iteration.</remarks>
|
||||
</member>
|
||||
<member name="M:System.Runtime.CompilerServices.ConfiguredCancelableAsyncEnumerable`1.GetAsyncEnumerator">
|
||||
<summary>Returns an enumerator that iterates asynchronously through collections that enables cancelable iteration and configured awaits.</summary>
|
||||
<returns>An enumerator for the <see cref="T:System.Runtime.CompilerServices.ConfiguredCancelableAsyncEnumerable`1" /> class.</returns>
|
||||
</member>
|
||||
<member name="T:System.Runtime.CompilerServices.ConfiguredCancelableAsyncEnumerable`1.Enumerator">
|
||||
<summary>Provides an awaitable async enumerator that enables cancelable iteration and configured awaits.</summary>
|
||||
</member>
|
||||
@@ -186,6 +194,83 @@
|
||||
resetting unmanaged resources asynchronously.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="T:System.Runtime.CompilerServices.EnumeratorCancellationAttribute">
|
||||
<summary>Allows users of async-enumerable methods to mark the parameter that should receive the cancellation token value from <see cref="M:System.Collections.Generic.IAsyncEnumerable`1.GetAsyncEnumerator(System.Threading.CancellationToken)" />.</summary>
|
||||
</member>
|
||||
<member name="M:System.Runtime.CompilerServices.EnumeratorCancellationAttribute.#ctor">
|
||||
<summary>Initializes a new instance of the <see cref="T:System.Runtime.CompilerServices.EnumeratorCancellationAttribute" /> class.</summary>
|
||||
</member>
|
||||
<member name="T:System.Runtime.InteropServices.LibraryImportAttribute">
|
||||
<summary>
|
||||
Attribute used to indicate a source generator should create a function for marshalling
|
||||
arguments instead of relying on the runtime to generate an equivalent marshalling function at run-time.
|
||||
</summary>
|
||||
<remarks>
|
||||
This attribute is meaningless if the source generator associated with it is not enabled.
|
||||
The current built-in source generator only supports C# and only supplies an implementation when
|
||||
applied to static, partial, non-generic methods.
|
||||
</remarks>
|
||||
</member>
|
||||
<member name="M:System.Runtime.InteropServices.LibraryImportAttribute.#ctor(System.String)">
|
||||
<summary>
|
||||
Initializes a new instance of the <see cref="T:System.Runtime.InteropServices.LibraryImportAttribute"/>.
|
||||
</summary>
|
||||
<param name="libraryName">Name of the library containing the import.</param>
|
||||
</member>
|
||||
<member name="P:System.Runtime.InteropServices.LibraryImportAttribute.LibraryName">
|
||||
<summary>
|
||||
Gets the name of the library containing the import.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:System.Runtime.InteropServices.LibraryImportAttribute.EntryPoint">
|
||||
<summary>
|
||||
Gets or sets the name of the entry point to be called.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:System.Runtime.InteropServices.LibraryImportAttribute.StringMarshalling">
|
||||
<summary>
|
||||
Gets or sets how to marshal string arguments to the method.
|
||||
</summary>
|
||||
<remarks>
|
||||
If this field is set to a value other than <see cref="F:System.Runtime.InteropServices.StringMarshalling.Custom" />,
|
||||
<see cref="P:System.Runtime.InteropServices.LibraryImportAttribute.StringMarshallingCustomType" /> must not be specified.
|
||||
</remarks>
|
||||
</member>
|
||||
<member name="P:System.Runtime.InteropServices.LibraryImportAttribute.StringMarshallingCustomType">
|
||||
<summary>
|
||||
Gets or sets the <see cref="T:System.Type"/> used to control how string arguments to the method are marshalled.
|
||||
</summary>
|
||||
<remarks>
|
||||
If this field is specified, <see cref="P:System.Runtime.InteropServices.LibraryImportAttribute.StringMarshalling" /> must not be specified
|
||||
or must be set to <see cref="F:System.Runtime.InteropServices.StringMarshalling.Custom" />.
|
||||
</remarks>
|
||||
</member>
|
||||
<member name="P:System.Runtime.InteropServices.LibraryImportAttribute.SetLastError">
|
||||
<summary>
|
||||
Gets or sets whether the callee sets an error (SetLastError on Windows or errno
|
||||
on other platforms) before returning from the attributed method.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="T:System.Runtime.InteropServices.StringMarshalling">
|
||||
<summary>
|
||||
Specifies how strings should be marshalled for generated p/invokes
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:System.Runtime.InteropServices.StringMarshalling.Custom">
|
||||
<summary>
|
||||
Indicates the user is suppling a specific marshaller in <see cref="P:System.Runtime.InteropServices.LibraryImportAttribute.StringMarshallingCustomType"/>.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:System.Runtime.InteropServices.StringMarshalling.Utf8">
|
||||
<summary>
|
||||
Use the platform-provided UTF-8 marshaller.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:System.Runtime.InteropServices.StringMarshalling.Utf16">
|
||||
<summary>
|
||||
Use the platform-provided UTF-16 marshaller.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="T:System.Collections.Generic.IAsyncEnumerable`1">
|
||||
<summary>Exposes an enumerator that provides asynchronous iteration over values of a specified type.</summary>
|
||||
<typeparam name="T">The type of values to enumerate.</typeparam>
|
||||
@@ -219,5 +304,114 @@
|
||||
resetting unmanaged resources asynchronously.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="T:System.Diagnostics.CodeAnalysis.AllowNullAttribute">
|
||||
<summary>Specifies that null is allowed as an input even if the corresponding type disallows it.</summary>
|
||||
</member>
|
||||
<member name="T:System.Diagnostics.CodeAnalysis.DisallowNullAttribute">
|
||||
<summary>Specifies that null is disallowed as an input even if the corresponding type allows it.</summary>
|
||||
</member>
|
||||
<member name="T:System.Diagnostics.CodeAnalysis.MaybeNullAttribute">
|
||||
<summary>Specifies that an output may be null even if the corresponding type disallows it.</summary>
|
||||
</member>
|
||||
<member name="T:System.Diagnostics.CodeAnalysis.NotNullAttribute">
|
||||
<summary>Specifies that an output will not be null even if the corresponding type allows it. Specifies that an input argument was not null when the call returns.</summary>
|
||||
</member>
|
||||
<member name="T:System.Diagnostics.CodeAnalysis.MaybeNullWhenAttribute">
|
||||
<summary>Specifies that when a method returns <see cref="P:System.Diagnostics.CodeAnalysis.MaybeNullWhenAttribute.ReturnValue"/>, the parameter may be null even if the corresponding type disallows it.</summary>
|
||||
</member>
|
||||
<member name="M:System.Diagnostics.CodeAnalysis.MaybeNullWhenAttribute.#ctor(System.Boolean)">
|
||||
<summary>Initializes the attribute with the specified return value condition.</summary>
|
||||
<param name="returnValue">
|
||||
The return value condition. If the method returns this value, the associated parameter may be null.
|
||||
</param>
|
||||
</member>
|
||||
<member name="P:System.Diagnostics.CodeAnalysis.MaybeNullWhenAttribute.ReturnValue">
|
||||
<summary>Gets the return value condition.</summary>
|
||||
</member>
|
||||
<member name="T:System.Diagnostics.CodeAnalysis.NotNullWhenAttribute">
|
||||
<summary>Specifies that when a method returns <see cref="P:System.Diagnostics.CodeAnalysis.NotNullWhenAttribute.ReturnValue"/>, the parameter will not be null even if the corresponding type allows it.</summary>
|
||||
</member>
|
||||
<member name="M:System.Diagnostics.CodeAnalysis.NotNullWhenAttribute.#ctor(System.Boolean)">
|
||||
<summary>Initializes the attribute with the specified return value condition.</summary>
|
||||
<param name="returnValue">
|
||||
The return value condition. If the method returns this value, the associated parameter will not be null.
|
||||
</param>
|
||||
</member>
|
||||
<member name="P:System.Diagnostics.CodeAnalysis.NotNullWhenAttribute.ReturnValue">
|
||||
<summary>Gets the return value condition.</summary>
|
||||
</member>
|
||||
<member name="T:System.Diagnostics.CodeAnalysis.NotNullIfNotNullAttribute">
|
||||
<summary>Specifies that the output will be non-null if the named parameter is non-null.</summary>
|
||||
</member>
|
||||
<member name="M:System.Diagnostics.CodeAnalysis.NotNullIfNotNullAttribute.#ctor(System.String)">
|
||||
<summary>Initializes the attribute with the associated parameter name.</summary>
|
||||
<param name="parameterName">
|
||||
The associated parameter name. The output will be non-null if the argument to the parameter specified is non-null.
|
||||
</param>
|
||||
</member>
|
||||
<member name="P:System.Diagnostics.CodeAnalysis.NotNullIfNotNullAttribute.ParameterName">
|
||||
<summary>Gets the associated parameter name.</summary>
|
||||
</member>
|
||||
<member name="T:System.Diagnostics.CodeAnalysis.DoesNotReturnAttribute">
|
||||
<summary>Applied to a method that will never return under any circumstance.</summary>
|
||||
</member>
|
||||
<member name="T:System.Diagnostics.CodeAnalysis.DoesNotReturnIfAttribute">
|
||||
<summary>Specifies that the method will not return if the associated Boolean parameter is passed the specified value.</summary>
|
||||
</member>
|
||||
<member name="M:System.Diagnostics.CodeAnalysis.DoesNotReturnIfAttribute.#ctor(System.Boolean)">
|
||||
<summary>Initializes the attribute with the specified parameter value.</summary>
|
||||
<param name="parameterValue">
|
||||
The condition parameter value. Code after the method will be considered unreachable by diagnostics if the argument to
|
||||
the associated parameter matches this value.
|
||||
</param>
|
||||
</member>
|
||||
<member name="P:System.Diagnostics.CodeAnalysis.DoesNotReturnIfAttribute.ParameterValue">
|
||||
<summary>Gets the condition parameter value.</summary>
|
||||
</member>
|
||||
<member name="T:System.Diagnostics.CodeAnalysis.MemberNotNullAttribute">
|
||||
<summary>Specifies that the method or property will ensure that the listed field and property members have not-null values.</summary>
|
||||
</member>
|
||||
<member name="M:System.Diagnostics.CodeAnalysis.MemberNotNullAttribute.#ctor(System.String)">
|
||||
<summary>Initializes the attribute with a field or property member.</summary>
|
||||
<param name="member">
|
||||
The field or property member that is promised to be not-null.
|
||||
</param>
|
||||
</member>
|
||||
<member name="M:System.Diagnostics.CodeAnalysis.MemberNotNullAttribute.#ctor(System.String[])">
|
||||
<summary>Initializes the attribute with the list of field and property members.</summary>
|
||||
<param name="members">
|
||||
The list of field and property members that are promised to be not-null.
|
||||
</param>
|
||||
</member>
|
||||
<member name="P:System.Diagnostics.CodeAnalysis.MemberNotNullAttribute.Members">
|
||||
<summary>Gets field or property member names.</summary>
|
||||
</member>
|
||||
<member name="T:System.Diagnostics.CodeAnalysis.MemberNotNullWhenAttribute">
|
||||
<summary>Specifies that the method or property will ensure that the listed field and property members have not-null values when returning with the specified return value condition.</summary>
|
||||
</member>
|
||||
<member name="M:System.Diagnostics.CodeAnalysis.MemberNotNullWhenAttribute.#ctor(System.Boolean,System.String)">
|
||||
<summary>Initializes the attribute with the specified return value condition and a field or property member.</summary>
|
||||
<param name="returnValue">
|
||||
The return value condition. If the method returns this value, the associated parameter will not be null.
|
||||
</param>
|
||||
<param name="member">
|
||||
The field or property member that is promised to be not-null.
|
||||
</param>
|
||||
</member>
|
||||
<member name="M:System.Diagnostics.CodeAnalysis.MemberNotNullWhenAttribute.#ctor(System.Boolean,System.String[])">
|
||||
<summary>Initializes the attribute with the specified return value condition and list of field and property members.</summary>
|
||||
<param name="returnValue">
|
||||
The return value condition. If the method returns this value, the associated parameter will not be null.
|
||||
</param>
|
||||
<param name="members">
|
||||
The list of field and property members that are promised to be not-null.
|
||||
</param>
|
||||
</member>
|
||||
<member name="P:System.Diagnostics.CodeAnalysis.MemberNotNullWhenAttribute.ReturnValue">
|
||||
<summary>Gets the return value condition.</summary>
|
||||
</member>
|
||||
<member name="P:System.Diagnostics.CodeAnalysis.MemberNotNullWhenAttribute.Members">
|
||||
<summary>Gets field or property member names.</summary>
|
||||
</member>
|
||||
</members>
|
||||
</doc>
|
||||
|
||||
BIN
Bin/Microsoft.Bcl.TimeProvider.dll
Normal file
BIN
Bin/Microsoft.Bcl.TimeProvider.dll
Normal file
Binary file not shown.
BIN
Bin/Microsoft.Bcl.TimeProvider.dll.refresh
Normal file
BIN
Bin/Microsoft.Bcl.TimeProvider.dll.refresh
Normal file
Binary file not shown.
415
Bin/Microsoft.Bcl.TimeProvider.xml
Normal file
415
Bin/Microsoft.Bcl.TimeProvider.xml
Normal file
@@ -0,0 +1,415 @@
|
||||
<?xml version="1.0"?>
|
||||
<doc>
|
||||
<assembly>
|
||||
<name>Microsoft.Bcl.TimeProvider</name>
|
||||
</assembly>
|
||||
<members>
|
||||
<member name="T:System.TimeProvider">
|
||||
<summary>Provides an abstraction for time.</summary>
|
||||
</member>
|
||||
<member name="P:System.TimeProvider.System">
|
||||
<summary>
|
||||
Gets a <see cref="T:System.TimeProvider"/> that provides a clock based on <see cref="P:System.DateTimeOffset.UtcNow"/>,
|
||||
a time zone based on <see cref="P:System.TimeZoneInfo.Local"/>, a high-performance time stamp based on <see cref="T:System.Diagnostics.Stopwatch"/>,
|
||||
and a timer based on <see cref="T:System.Threading.Timer"/>.
|
||||
</summary>
|
||||
<remarks>
|
||||
If the <see cref="P:System.TimeZoneInfo.Local"/> changes after the object is returned, the change will be reflected in any subsequent operations that retrieve <see cref="M:System.TimeProvider.GetLocalNow"/>.
|
||||
</remarks>
|
||||
</member>
|
||||
<member name="M:System.TimeProvider.#ctor">
|
||||
<summary>
|
||||
Initializes the <see cref="T:System.TimeProvider"/>.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:System.TimeProvider.GetUtcNow">
|
||||
<summary>
|
||||
Gets a <see cref="T:System.DateTimeOffset"/> value whose date and time are set to the current
|
||||
Coordinated Universal Time (UTC) date and time and whose offset is Zero,
|
||||
all according to this <see cref="T:System.TimeProvider"/>'s notion of time.
|
||||
</summary>
|
||||
<remarks>
|
||||
The default implementation returns <see cref="P:System.DateTimeOffset.UtcNow"/>.
|
||||
</remarks>
|
||||
</member>
|
||||
<member name="M:System.TimeProvider.GetLocalNow">
|
||||
<summary>
|
||||
Gets a <see cref="T:System.DateTimeOffset"/> value that is set to the current date and time according to this <see cref="T:System.TimeProvider"/>'s
|
||||
notion of time based on <see cref="M:System.TimeProvider.GetUtcNow"/>, with the offset set to the <see cref="P:System.TimeProvider.LocalTimeZone"/>'s offset from Coordinated Universal Time (UTC).
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:System.TimeProvider.LocalTimeZone">
|
||||
<summary>
|
||||
Gets a <see cref="T:System.TimeZoneInfo"/> object that represents the local time zone according to this <see cref="T:System.TimeProvider"/>'s notion of time.
|
||||
</summary>
|
||||
<remarks>
|
||||
The default implementation returns <see cref="P:System.TimeZoneInfo.Local"/>.
|
||||
</remarks>
|
||||
</member>
|
||||
<member name="P:System.TimeProvider.TimestampFrequency">
|
||||
<summary>
|
||||
Gets the frequency of <see cref="M:System.TimeProvider.GetTimestamp"/> of high-frequency value per second.
|
||||
</summary>
|
||||
<remarks>
|
||||
The default implementation returns <see cref="F:System.Diagnostics.Stopwatch.Frequency"/>. For a given TimeProvider instance, the value must be idempotent and remain unchanged.
|
||||
</remarks>
|
||||
</member>
|
||||
<member name="M:System.TimeProvider.GetTimestamp">
|
||||
<summary>
|
||||
Gets the current high-frequency value designed to measure small time intervals with high accuracy in the timer mechanism.
|
||||
</summary>
|
||||
<returns>A long integer representing the high-frequency counter value of the underlying timer mechanism. </returns>
|
||||
<remarks>
|
||||
The default implementation returns <see cref="M:System.Diagnostics.Stopwatch.GetTimestamp"/>.
|
||||
</remarks>
|
||||
</member>
|
||||
<member name="M:System.TimeProvider.GetElapsedTime(System.Int64,System.Int64)">
|
||||
<summary>
|
||||
Gets the elapsed time between two timestamps retrieved using <see cref="M:System.TimeProvider.GetTimestamp"/>.
|
||||
</summary>
|
||||
<param name="startingTimestamp">The timestamp marking the beginning of the time period.</param>
|
||||
<param name="endingTimestamp">The timestamp marking the end of the time period.</param>
|
||||
<returns>A <see cref="T:System.TimeSpan"/> for the elapsed time between the starting and ending timestamps.</returns>
|
||||
</member>
|
||||
<member name="M:System.TimeProvider.GetElapsedTime(System.Int64)">
|
||||
<summary>
|
||||
Gets the elapsed time since the <paramref name="startingTimestamp"/> value retrieved using <see cref="M:System.TimeProvider.GetTimestamp"/>.
|
||||
</summary>
|
||||
<param name="startingTimestamp">The timestamp marking the beginning of the time period.</param>
|
||||
<returns>A <see cref="T:System.TimeSpan"/> for the elapsed time between the starting timestamp and the time of this call./></returns>
|
||||
</member>
|
||||
<member name="M:System.TimeProvider.CreateTimer(System.Threading.TimerCallback,System.Object,System.TimeSpan,System.TimeSpan)">
|
||||
<summary>Creates a new <see cref="T:System.Threading.ITimer"/> instance, using <see cref="T:System.TimeSpan"/> values to measure time intervals.</summary>
|
||||
<param name="callback">
|
||||
A delegate representing a method to be executed when the timer fires. The method specified for callback should be reentrant,
|
||||
as it may be invoked simultaneously on two threads if the timer fires again before or while a previous callback is still being handled.
|
||||
</param>
|
||||
<param name="state">An object to be passed to the <paramref name="callback"/>. This may be null.</param>
|
||||
<param name="dueTime">The amount of time to delay before <paramref name="callback"/> is invoked. Specify <see cref="F:System.Threading.Timeout.InfiniteTimeSpan"/> to prevent the timer from starting. Specify <see cref="F:System.TimeSpan.Zero"/> to start the timer immediately.</param>
|
||||
<param name="period">The time interval between invocations of <paramref name="callback"/>. Specify <see cref="F:System.Threading.Timeout.InfiniteTimeSpan"/> to disable periodic signaling.</param>
|
||||
<returns>
|
||||
The newly created <see cref="T:System.Threading.ITimer"/> instance.
|
||||
</returns>
|
||||
<exception cref="T:System.ArgumentNullException"><paramref name="callback"/> is null.</exception>
|
||||
<exception cref="T:System.ArgumentOutOfRangeException">The number of milliseconds in the value of <paramref name="dueTime"/> or <paramref name="period"/> is negative and not equal to <see cref="F:System.Threading.Timeout.Infinite"/>, or is greater than <see cref="F:System.Int32.MaxValue"/>.</exception>
|
||||
<remarks>
|
||||
<para>
|
||||
The delegate specified by the callback parameter is invoked once after <paramref name="dueTime"/> elapses, and thereafter each time the <paramref name="period"/> time interval elapses.
|
||||
</para>
|
||||
<para>
|
||||
If <paramref name="dueTime"/> is zero, the callback is invoked immediately. If <paramref name="dueTime"/> is -1 milliseconds, <paramref name="callback"/> is not invoked; the timer is disabled,
|
||||
but can be re-enabled by calling the <see cref="M:System.Threading.ITimer.Change(System.TimeSpan,System.TimeSpan)"/> method.
|
||||
</para>
|
||||
<para>
|
||||
If <paramref name="period"/> is 0 or -1 milliseconds and <paramref name="dueTime"/> is positive, <paramref name="callback"/> is invoked once; the periodic behavior of the timer is disabled,
|
||||
but can be re-enabled using the <see cref="M:System.Threading.ITimer.Change(System.TimeSpan,System.TimeSpan)"/> method.
|
||||
</para>
|
||||
<para>
|
||||
The return <see cref="T:System.Threading.ITimer"/> instance will be implicitly rooted while the timer is still scheduled.
|
||||
</para>
|
||||
<para>
|
||||
<see cref="M:System.TimeProvider.CreateTimer(System.Threading.TimerCallback,System.Object,System.TimeSpan,System.TimeSpan)"/> captures the <see cref="T:System.Threading.ExecutionContext"/> and stores that with the <see cref="T:System.Threading.ITimer"/> for use in invoking <paramref name="callback"/>
|
||||
each time it's called. That capture can be suppressed with <see cref="M:System.Threading.ExecutionContext.SuppressFlow"/>.
|
||||
</para>
|
||||
</remarks>
|
||||
</member>
|
||||
<member name="T:System.TimeProvider.SystemTimeProviderTimer">
|
||||
<summary>Thin wrapper for a <see cref="T:System.Threading.Timer"/>.</summary>
|
||||
<remarks>
|
||||
We don't return a TimerQueueTimer directly as it implements IThreadPoolWorkItem and we don't
|
||||
want it exposed in a way that user code could directly queue the timer to the thread pool.
|
||||
We also use this instead of Timer because CreateTimer needs to return a timer that's implicitly
|
||||
rooted while scheduled.
|
||||
</remarks>
|
||||
</member>
|
||||
<member name="T:System.TimeProvider.SystemTimeProvider">
|
||||
<summary>
|
||||
Used to create a <see cref="T:System.TimeProvider"/> instance returned from <see cref="P:System.TimeProvider.System"/> and uses the default implementation
|
||||
provided by <see cref="T:System.TimeProvider"/> which uses <see cref="P:System.DateTimeOffset.UtcNow"/>, <see cref="P:System.TimeZoneInfo.Local"/>, <see cref="T:System.Diagnostics.Stopwatch"/>, and <see cref="T:System.Threading.Timer"/>.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:System.TimeProvider.SystemTimeProvider.#ctor">
|
||||
<summary>Initializes the instance.</summary>
|
||||
</member>
|
||||
<member name="T:System.Threading.ITimer">
|
||||
<summary>Represents a timer that can have its due time and period changed.</summary>
|
||||
<remarks>
|
||||
Implementations of <see cref="M:System.Threading.ITimer.Change(System.TimeSpan,System.TimeSpan)"/>, <see cref="M:System.IDisposable.Dispose"/>, and <see cref="M:System.IAsyncDisposable.DisposeAsync"/>
|
||||
must all be thread-safe such that the timer instance may be accessed concurrently from multiple threads.
|
||||
</remarks>
|
||||
</member>
|
||||
<member name="M:System.Threading.ITimer.Change(System.TimeSpan,System.TimeSpan)">
|
||||
<summary>Changes the start time and the interval between method invocations for a timer, using <see cref="T:System.TimeSpan"/> values to measure time intervals.</summary>
|
||||
<param name="dueTime">
|
||||
A <see cref="T:System.TimeSpan"/> representing the amount of time to delay before invoking the callback method specified when the <see cref="T:System.Threading.ITimer"/> was constructed.
|
||||
Specify <see cref="F:System.Threading.Timeout.InfiniteTimeSpan"/> to prevent the timer from restarting. Specify <see cref="F:System.TimeSpan.Zero"/> to restart the timer immediately.
|
||||
</param>
|
||||
<param name="period">
|
||||
The time interval between invocations of the callback method specified when the Timer was constructed.
|
||||
Specify <see cref="F:System.Threading.Timeout.InfiniteTimeSpan"/> to disable periodic signaling.
|
||||
</param>
|
||||
<returns><see langword="true"/> if the timer was successfully updated; otherwise, <see langword="false"/>.</returns>
|
||||
<exception cref="T:System.ArgumentOutOfRangeException">The <paramref name="dueTime"/> or <paramref name="period"/> parameter, in milliseconds, is less than -1 or greater than 4294967294.</exception>
|
||||
<remarks>
|
||||
It is the responsibility of the implementer of the ITimer interface to ensure thread safety.
|
||||
</remarks>
|
||||
</member>
|
||||
<member name="T:System.Threading.Tasks.TimeProviderTaskExtensions">
|
||||
<summary>
|
||||
Provide extensions methods for <see cref="T:System.Threading.Tasks.Task"/> operations with <see cref="T:System.TimeProvider"/>.
|
||||
</summary>
|
||||
<remarks>
|
||||
The Microsoft.Bcl.TimeProvider library interfaces are intended solely for use in building against pre-.NET 8 surface area.
|
||||
If your code is being built against .NET 8 or higher, then this library should not be utilized.
|
||||
</remarks>
|
||||
</member>
|
||||
<member name="M:System.Threading.Tasks.TimeProviderTaskExtensions.Delay(System.TimeProvider,System.TimeSpan,System.Threading.CancellationToken)">
|
||||
<summary>Creates a task that completes after a specified time interval.</summary>
|
||||
<param name="timeProvider">The <see cref="T:System.TimeProvider"/> with which to interpret <paramref name="delay"/>.</param>
|
||||
<param name="delay">The <see cref="T:System.TimeSpan"/> to wait before completing the returned task, or <see cref="F:System.Threading.Timeout.InfiniteTimeSpan"/> to wait indefinitely.</param>
|
||||
<param name="cancellationToken">A cancellation token to observe while waiting for the task to complete.</param>
|
||||
<returns>A task that represents the time delay.</returns>
|
||||
<exception cref="T:System.ArgumentNullException">The <paramref name="timeProvider"/> argument is null.</exception>
|
||||
<exception cref="T:System.ArgumentOutOfRangeException"><paramref name="delay"/> represents a negative time interval other than <see cref="F:System.Threading.Timeout.InfiniteTimeSpan"/>.</exception>
|
||||
</member>
|
||||
<member name="M:System.Threading.Tasks.TimeProviderTaskExtensions.WaitAsync(System.Threading.Tasks.Task,System.TimeSpan,System.TimeProvider,System.Threading.CancellationToken)">
|
||||
<summary>
|
||||
Gets a <see cref="T:System.Threading.Tasks.Task"/> that will complete when this <see cref="T:System.Threading.Tasks.Task"/> completes, when the specified timeout expires, or when the specified <see cref="T:System.Threading.CancellationToken"/> has cancellation requested.
|
||||
</summary>
|
||||
<param name="task">The task for which to wait on until completion.</param>
|
||||
<param name="timeout">The timeout after which the <see cref="T:System.Threading.Tasks.Task"/> should be faulted with a <see cref="T:System.TimeoutException"/> if it hasn't otherwise completed.</param>
|
||||
<param name="timeProvider">The <see cref="T:System.TimeProvider"/> with which to interpret <paramref name="timeout"/>.</param>
|
||||
<param name="cancellationToken">The <see cref="T:System.Threading.CancellationToken"/> to monitor for a cancellation request.</param>
|
||||
<returns>The <see cref="T:System.Threading.Tasks.Task"/> representing the asynchronous wait. It may or may not be the same instance as the current instance.</returns>
|
||||
<exception cref="T:System.ArgumentNullException">The <paramref name="task"/> argument is null.</exception>
|
||||
<exception cref="T:System.ArgumentNullException">The <paramref name="timeProvider"/> argument is null.</exception>
|
||||
<exception cref="T:System.ArgumentOutOfRangeException"><paramref name="timeout"/> represents a negative time interval other than <see cref="F:System.Threading.Timeout.InfiniteTimeSpan"/>.</exception>
|
||||
</member>
|
||||
<member name="M:System.Threading.Tasks.TimeProviderTaskExtensions.WaitAsync``1(System.Threading.Tasks.Task{``0},System.TimeSpan,System.TimeProvider,System.Threading.CancellationToken)">
|
||||
<summary>
|
||||
Gets a <see cref="T:System.Threading.Tasks.Task"/> that will complete when this <see cref="T:System.Threading.Tasks.Task"/> completes, when the specified timeout expires, or when the specified <see cref="T:System.Threading.CancellationToken"/> has cancellation requested.
|
||||
</summary>
|
||||
<param name="task">The task for which to wait on until completion.</param>
|
||||
<param name="timeout">The timeout after which the <see cref="T:System.Threading.Tasks.Task"/> should be faulted with a <see cref="T:System.TimeoutException"/> if it hasn't otherwise completed.</param>
|
||||
<param name="timeProvider">The <see cref="T:System.TimeProvider"/> with which to interpret <paramref name="timeout"/>.</param>
|
||||
<param name="cancellationToken">The <see cref="T:System.Threading.CancellationToken"/> to monitor for a cancellation request.</param>
|
||||
<returns>The <see cref="T:System.Threading.Tasks.Task"/> representing the asynchronous wait. It may or may not be the same instance as the current instance.</returns>
|
||||
<exception cref="T:System.ArgumentNullException">The <paramref name="task"/> argument is null.</exception>
|
||||
<exception cref="T:System.ArgumentNullException">The <paramref name="timeProvider"/> argument is null.</exception>
|
||||
<exception cref="T:System.ArgumentOutOfRangeException"><paramref name="timeout"/> represents a negative time interval other than <see cref="F:System.Threading.Timeout.InfiniteTimeSpan"/>.</exception>
|
||||
</member>
|
||||
<member name="M:System.Threading.Tasks.TimeProviderTaskExtensions.CreateCancellationTokenSource(System.TimeProvider,System.TimeSpan)">
|
||||
<summary>Initializes a new instance of the <see cref="T:System.Threading.CancellationTokenSource"/> class that will be canceled after the specified <see cref="T:System.TimeSpan"/>. </summary>
|
||||
<param name="timeProvider">The <see cref="T:System.TimeProvider"/> with which to interpret the <paramref name="delay"/>. </param>
|
||||
<param name="delay">The time interval to wait before canceling this <see cref="T:System.Threading.CancellationTokenSource"/>. </param>
|
||||
<exception cref="T:System.ArgumentOutOfRangeException"> The <paramref name="delay"/> is negative and not equal to <see cref="F:System.Threading.Timeout.InfiniteTimeSpan" /> or greater than maximum allowed timer duration.</exception>
|
||||
<returns><see cref="T:System.Threading.CancellationTokenSource"/> that will be canceled after the specified <paramref name="delay"/>.</returns>
|
||||
<remarks>
|
||||
<para>
|
||||
The countdown for the delay starts during the call to the constructor. When the delay expires,
|
||||
the constructed <see cref="T:System.Threading.CancellationTokenSource"/> is canceled if it has
|
||||
not been canceled already.
|
||||
</para>
|
||||
<para>
|
||||
If running on .NET versions earlier than .NET 8.0, there is a constraint when invoking <see cref="M:System.Threading.CancellationTokenSource.CancelAfter(System.TimeSpan)"/> on the resultant object.
|
||||
This action will not terminate the initial timer indicated by <paramref name="delay"/>. However, this restriction does not apply on .NET 8.0 and later versions.
|
||||
</para>
|
||||
</remarks>
|
||||
</member>
|
||||
<member name="P:System.SR.ArgumentOutOfRange_Generic_MustBeNonNegativeNonZero">
|
||||
<summary>'{0}' must be a non-negative and non-zero value.</summary>
|
||||
</member>
|
||||
<member name="P:System.SR.ArgumentOutOfRange_Generic_MustBeGreaterOrEqual">
|
||||
<summary>'{0}' must be greater than or equal to '{1}'.</summary>
|
||||
</member>
|
||||
<member name="P:System.SR.ArgumentOutOfRange_Generic_MustBeLessOrEqual">
|
||||
<summary>'{0}' must be less than or equal to '{1}'.</summary>
|
||||
</member>
|
||||
<member name="P:System.SR.InvalidOperation_TimeProviderNullLocalTimeZone">
|
||||
<summary>The operation cannot be performed when TimeProvider.LocalTimeZone is null.</summary>
|
||||
</member>
|
||||
<member name="P:System.SR.InvalidOperation_TimeProviderInvalidTimestampFrequency">
|
||||
<summary>The operation cannot be performed when TimeProvider.TimestampFrequency is zero or negative.</summary>
|
||||
</member>
|
||||
<member name="T:System.Runtime.InteropServices.LibraryImportAttribute">
|
||||
<summary>
|
||||
Attribute used to indicate a source generator should create a function for marshalling
|
||||
arguments instead of relying on the runtime to generate an equivalent marshalling function at run-time.
|
||||
</summary>
|
||||
<remarks>
|
||||
This attribute is meaningless if the source generator associated with it is not enabled.
|
||||
The current built-in source generator only supports C# and only supplies an implementation when
|
||||
applied to static, partial, non-generic methods.
|
||||
</remarks>
|
||||
</member>
|
||||
<member name="M:System.Runtime.InteropServices.LibraryImportAttribute.#ctor(System.String)">
|
||||
<summary>
|
||||
Initializes a new instance of the <see cref="T:System.Runtime.InteropServices.LibraryImportAttribute"/>.
|
||||
</summary>
|
||||
<param name="libraryName">Name of the library containing the import.</param>
|
||||
</member>
|
||||
<member name="P:System.Runtime.InteropServices.LibraryImportAttribute.LibraryName">
|
||||
<summary>
|
||||
Gets the name of the library containing the import.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:System.Runtime.InteropServices.LibraryImportAttribute.EntryPoint">
|
||||
<summary>
|
||||
Gets or sets the name of the entry point to be called.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:System.Runtime.InteropServices.LibraryImportAttribute.StringMarshalling">
|
||||
<summary>
|
||||
Gets or sets how to marshal string arguments to the method.
|
||||
</summary>
|
||||
<remarks>
|
||||
If this field is set to a value other than <see cref="F:System.Runtime.InteropServices.StringMarshalling.Custom" />,
|
||||
<see cref="P:System.Runtime.InteropServices.LibraryImportAttribute.StringMarshallingCustomType" /> must not be specified.
|
||||
</remarks>
|
||||
</member>
|
||||
<member name="P:System.Runtime.InteropServices.LibraryImportAttribute.StringMarshallingCustomType">
|
||||
<summary>
|
||||
Gets or sets the <see cref="T:System.Type"/> used to control how string arguments to the method are marshalled.
|
||||
</summary>
|
||||
<remarks>
|
||||
If this field is specified, <see cref="P:System.Runtime.InteropServices.LibraryImportAttribute.StringMarshalling" /> must not be specified
|
||||
or must be set to <see cref="F:System.Runtime.InteropServices.StringMarshalling.Custom" />.
|
||||
</remarks>
|
||||
</member>
|
||||
<member name="P:System.Runtime.InteropServices.LibraryImportAttribute.SetLastError">
|
||||
<summary>
|
||||
Gets or sets whether the callee sets an error (SetLastError on Windows or errno
|
||||
on other platforms) before returning from the attributed method.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="T:System.Runtime.InteropServices.StringMarshalling">
|
||||
<summary>
|
||||
Specifies how strings should be marshalled for generated p/invokes
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:System.Runtime.InteropServices.StringMarshalling.Custom">
|
||||
<summary>
|
||||
Indicates the user is suppling a specific marshaller in <see cref="P:System.Runtime.InteropServices.LibraryImportAttribute.StringMarshallingCustomType"/>.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:System.Runtime.InteropServices.StringMarshalling.Utf8">
|
||||
<summary>
|
||||
Use the platform-provided UTF-8 marshaller.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:System.Runtime.InteropServices.StringMarshalling.Utf16">
|
||||
<summary>
|
||||
Use the platform-provided UTF-16 marshaller.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="T:System.Diagnostics.CodeAnalysis.AllowNullAttribute">
|
||||
<summary>Specifies that null is allowed as an input even if the corresponding type disallows it.</summary>
|
||||
</member>
|
||||
<member name="T:System.Diagnostics.CodeAnalysis.DisallowNullAttribute">
|
||||
<summary>Specifies that null is disallowed as an input even if the corresponding type allows it.</summary>
|
||||
</member>
|
||||
<member name="T:System.Diagnostics.CodeAnalysis.MaybeNullAttribute">
|
||||
<summary>Specifies that an output may be null even if the corresponding type disallows it.</summary>
|
||||
</member>
|
||||
<member name="T:System.Diagnostics.CodeAnalysis.NotNullAttribute">
|
||||
<summary>Specifies that an output will not be null even if the corresponding type allows it. Specifies that an input argument was not null when the call returns.</summary>
|
||||
</member>
|
||||
<member name="T:System.Diagnostics.CodeAnalysis.MaybeNullWhenAttribute">
|
||||
<summary>Specifies that when a method returns <see cref="P:System.Diagnostics.CodeAnalysis.MaybeNullWhenAttribute.ReturnValue"/>, the parameter may be null even if the corresponding type disallows it.</summary>
|
||||
</member>
|
||||
<member name="M:System.Diagnostics.CodeAnalysis.MaybeNullWhenAttribute.#ctor(System.Boolean)">
|
||||
<summary>Initializes the attribute with the specified return value condition.</summary>
|
||||
<param name="returnValue">
|
||||
The return value condition. If the method returns this value, the associated parameter may be null.
|
||||
</param>
|
||||
</member>
|
||||
<member name="P:System.Diagnostics.CodeAnalysis.MaybeNullWhenAttribute.ReturnValue">
|
||||
<summary>Gets the return value condition.</summary>
|
||||
</member>
|
||||
<member name="T:System.Diagnostics.CodeAnalysis.NotNullWhenAttribute">
|
||||
<summary>Specifies that when a method returns <see cref="P:System.Diagnostics.CodeAnalysis.NotNullWhenAttribute.ReturnValue"/>, the parameter will not be null even if the corresponding type allows it.</summary>
|
||||
</member>
|
||||
<member name="M:System.Diagnostics.CodeAnalysis.NotNullWhenAttribute.#ctor(System.Boolean)">
|
||||
<summary>Initializes the attribute with the specified return value condition.</summary>
|
||||
<param name="returnValue">
|
||||
The return value condition. If the method returns this value, the associated parameter will not be null.
|
||||
</param>
|
||||
</member>
|
||||
<member name="P:System.Diagnostics.CodeAnalysis.NotNullWhenAttribute.ReturnValue">
|
||||
<summary>Gets the return value condition.</summary>
|
||||
</member>
|
||||
<member name="T:System.Diagnostics.CodeAnalysis.NotNullIfNotNullAttribute">
|
||||
<summary>Specifies that the output will be non-null if the named parameter is non-null.</summary>
|
||||
</member>
|
||||
<member name="M:System.Diagnostics.CodeAnalysis.NotNullIfNotNullAttribute.#ctor(System.String)">
|
||||
<summary>Initializes the attribute with the associated parameter name.</summary>
|
||||
<param name="parameterName">
|
||||
The associated parameter name. The output will be non-null if the argument to the parameter specified is non-null.
|
||||
</param>
|
||||
</member>
|
||||
<member name="P:System.Diagnostics.CodeAnalysis.NotNullIfNotNullAttribute.ParameterName">
|
||||
<summary>Gets the associated parameter name.</summary>
|
||||
</member>
|
||||
<member name="T:System.Diagnostics.CodeAnalysis.DoesNotReturnAttribute">
|
||||
<summary>Applied to a method that will never return under any circumstance.</summary>
|
||||
</member>
|
||||
<member name="T:System.Diagnostics.CodeAnalysis.DoesNotReturnIfAttribute">
|
||||
<summary>Specifies that the method will not return if the associated Boolean parameter is passed the specified value.</summary>
|
||||
</member>
|
||||
<member name="M:System.Diagnostics.CodeAnalysis.DoesNotReturnIfAttribute.#ctor(System.Boolean)">
|
||||
<summary>Initializes the attribute with the specified parameter value.</summary>
|
||||
<param name="parameterValue">
|
||||
The condition parameter value. Code after the method will be considered unreachable by diagnostics if the argument to
|
||||
the associated parameter matches this value.
|
||||
</param>
|
||||
</member>
|
||||
<member name="P:System.Diagnostics.CodeAnalysis.DoesNotReturnIfAttribute.ParameterValue">
|
||||
<summary>Gets the condition parameter value.</summary>
|
||||
</member>
|
||||
<member name="T:System.Diagnostics.CodeAnalysis.MemberNotNullAttribute">
|
||||
<summary>Specifies that the method or property will ensure that the listed field and property members have not-null values.</summary>
|
||||
</member>
|
||||
<member name="M:System.Diagnostics.CodeAnalysis.MemberNotNullAttribute.#ctor(System.String)">
|
||||
<summary>Initializes the attribute with a field or property member.</summary>
|
||||
<param name="member">
|
||||
The field or property member that is promised to be not-null.
|
||||
</param>
|
||||
</member>
|
||||
<member name="M:System.Diagnostics.CodeAnalysis.MemberNotNullAttribute.#ctor(System.String[])">
|
||||
<summary>Initializes the attribute with the list of field and property members.</summary>
|
||||
<param name="members">
|
||||
The list of field and property members that are promised to be not-null.
|
||||
</param>
|
||||
</member>
|
||||
<member name="P:System.Diagnostics.CodeAnalysis.MemberNotNullAttribute.Members">
|
||||
<summary>Gets field or property member names.</summary>
|
||||
</member>
|
||||
<member name="T:System.Diagnostics.CodeAnalysis.MemberNotNullWhenAttribute">
|
||||
<summary>Specifies that the method or property will ensure that the listed field and property members have not-null values when returning with the specified return value condition.</summary>
|
||||
</member>
|
||||
<member name="M:System.Diagnostics.CodeAnalysis.MemberNotNullWhenAttribute.#ctor(System.Boolean,System.String)">
|
||||
<summary>Initializes the attribute with the specified return value condition and a field or property member.</summary>
|
||||
<param name="returnValue">
|
||||
The return value condition. If the method returns this value, the associated parameter will not be null.
|
||||
</param>
|
||||
<param name="member">
|
||||
The field or property member that is promised to be not-null.
|
||||
</param>
|
||||
</member>
|
||||
<member name="M:System.Diagnostics.CodeAnalysis.MemberNotNullWhenAttribute.#ctor(System.Boolean,System.String[])">
|
||||
<summary>Initializes the attribute with the specified return value condition and list of field and property members.</summary>
|
||||
<param name="returnValue">
|
||||
The return value condition. If the method returns this value, the associated parameter will not be null.
|
||||
</param>
|
||||
<param name="members">
|
||||
The list of field and property members that are promised to be not-null.
|
||||
</param>
|
||||
</member>
|
||||
<member name="P:System.Diagnostics.CodeAnalysis.MemberNotNullWhenAttribute.ReturnValue">
|
||||
<summary>Gets the return value condition.</summary>
|
||||
</member>
|
||||
<member name="P:System.Diagnostics.CodeAnalysis.MemberNotNullWhenAttribute.Members">
|
||||
<summary>Gets field or property member names.</summary>
|
||||
</member>
|
||||
</members>
|
||||
</doc>
|
||||
Binary file not shown.
Binary file not shown.
File diff suppressed because it is too large
Load Diff
Binary file not shown.
BIN
Bin/Microsoft.Extensions.DependencyInjection.dll.refresh
Normal file
BIN
Bin/Microsoft.Extensions.DependencyInjection.dll.refresh
Normal file
Binary file not shown.
@@ -1,140 +1,666 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<?xml version="1.0"?>
|
||||
<doc>
|
||||
<assembly>
|
||||
<name>Microsoft.Extensions.DependencyInjection</name>
|
||||
</assembly>
|
||||
<members>
|
||||
<member name="T:Microsoft.Extensions.DependencyInjection.DefaultServiceProviderFactory">
|
||||
<summary>Default implementation of <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceProviderFactory`1" />.</summary>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.DependencyInjection.DefaultServiceProviderFactory.#ctor">
|
||||
<summary>Initializes a new instance of the <see cref="T:Microsoft.Extensions.DependencyInjection.DefaultServiceProviderFactory" /> class
|
||||
with default options.</summary>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.DependencyInjection.DefaultServiceProviderFactory.#ctor(Microsoft.Extensions.DependencyInjection.ServiceProviderOptions)">
|
||||
<summary>Initializes a new instance of the <see cref="T:Microsoft.Extensions.DependencyInjection.DefaultServiceProviderFactory" /> class
|
||||
with the specified <paramref name="options" />.</summary>
|
||||
<param name="options">The options to use for this instance.</param>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.DependencyInjection.DefaultServiceProviderFactory.CreateBuilder(Microsoft.Extensions.DependencyInjection.IServiceCollection)">
|
||||
<summary>Creates a container builder from an <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection" />.</summary>
|
||||
<param name="services" />
|
||||
<returns>A container builder that can be used to create an <see cref="T:System.IServiceProvider" />.</returns>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.DependencyInjection.DefaultServiceProviderFactory.CreateServiceProvider(Microsoft.Extensions.DependencyInjection.IServiceCollection)">
|
||||
<summary>Creates an <see cref="T:System.IServiceProvider" /> from the container builder.</summary>
|
||||
<param name="containerBuilder" />
|
||||
<returns>An <see cref="T:System.IServiceProvider" />.</returns>
|
||||
</member>
|
||||
<member name="T:Microsoft.Extensions.DependencyInjection.ServiceCollection">
|
||||
<summary>Default implementation of <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection" />.</summary>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.DependencyInjection.ServiceCollection.#ctor" />
|
||||
<member name="M:Microsoft.Extensions.DependencyInjection.ServiceCollection.Clear">
|
||||
<summary>Removes all items from the <see cref="T:System.Collections.Generic.ICollection`1" />.</summary>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.DependencyInjection.ServiceCollection.Contains(Microsoft.Extensions.DependencyInjection.ServiceDescriptor)">
|
||||
<summary>Determines whether the <see cref="T:System.Collections.Generic.ICollection`1" /> contains a specific value.</summary>
|
||||
<param name="item" />
|
||||
<returns>
|
||||
<see langword="true" /> if <paramref name="item" /> is found in the <see cref="T:System.Collections.Generic.ICollection`1" />; otherwise, <see langword="false" />.</returns>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.DependencyInjection.ServiceCollection.CopyTo(Microsoft.Extensions.DependencyInjection.ServiceDescriptor[],System.Int32)">
|
||||
<summary>Copies the elements of the <see cref="T:System.Collections.Generic.ICollection`1" /> to an <see cref="T:System.Array" />, starting at a particular <see cref="T:System.Array" /> index.</summary>
|
||||
<param name="array" />
|
||||
<param name="arrayIndex" />
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.DependencyInjection.ServiceCollection.GetEnumerator">
|
||||
<summary>Returns an enumerator that iterates through the collection.</summary>
|
||||
<returns>An enumerator that can be used to iterate through the collection.</returns>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.DependencyInjection.ServiceCollection.IndexOf(Microsoft.Extensions.DependencyInjection.ServiceDescriptor)">
|
||||
<summary>Determines the index of a specific item in the <see cref="T:System.Collections.Generic.IList`1" />.</summary>
|
||||
<param name="item" />
|
||||
<returns>The index of <paramref name="item" /> if found in the list; otherwise, -1.</returns>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.DependencyInjection.ServiceCollection.Insert(System.Int32,Microsoft.Extensions.DependencyInjection.ServiceDescriptor)">
|
||||
<summary>Inserts an item to the <see cref="T:System.Collections.Generic.IList`1" /> at the specified index.</summary>
|
||||
<param name="index" />
|
||||
<param name="item" />
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.DependencyInjection.ServiceCollection.Remove(Microsoft.Extensions.DependencyInjection.ServiceDescriptor)">
|
||||
<summary>Removes the first occurrence of a specific object from the <see cref="T:System.Collections.Generic.ICollection`1" />.</summary>
|
||||
<param name="item" />
|
||||
<returns>
|
||||
<see langword="true" /> if <paramref name="item" /> was successfully removed from the <see cref="T:System.Collections.Generic.ICollection`1" />; otherwise, <see langword="false" />. This method also returns <see langword="false" /> if <paramref name="item" /> is not found in the original <see cref="T:System.Collections.Generic.ICollection`1" />.</returns>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.DependencyInjection.ServiceCollection.RemoveAt(System.Int32)">
|
||||
<summary>Removes the <see cref="T:System.Collections.Generic.IList`1" /> item at the specified index.</summary>
|
||||
<param name="index" />
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.DependencyInjection.ServiceCollection.System#Collections#Generic#ICollection{Microsoft#Extensions#DependencyInjection#ServiceDescriptor}#Add(Microsoft.Extensions.DependencyInjection.ServiceDescriptor)">
|
||||
<summary>Adds an item to the <see cref="T:System.Collections.Generic.ICollection`1" />.</summary>
|
||||
<param name="item">The object to add to the <see cref="T:System.Collections.Generic.ICollection`1" />.</param>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.DependencyInjection.ServiceCollection.System#Collections#IEnumerable#GetEnumerator">
|
||||
<summary>Returns an enumerator that iterates through a collection.</summary>
|
||||
<returns>An <see cref="T:System.Collections.IEnumerator" /> object that can be used to iterate through the collection.</returns>
|
||||
</member>
|
||||
<member name="P:Microsoft.Extensions.DependencyInjection.ServiceCollection.Count">
|
||||
<summary>Gets the number of elements contained in the <see cref="T:System.Collections.Generic.ICollection`1" />.</summary>
|
||||
</member>
|
||||
<member name="P:Microsoft.Extensions.DependencyInjection.ServiceCollection.IsReadOnly">
|
||||
<summary>Gets a value indicating whether the <see cref="T:System.Collections.Generic.ICollection`1" /> is read-only.</summary>
|
||||
</member>
|
||||
<member name="P:Microsoft.Extensions.DependencyInjection.ServiceCollection.Item(System.Int32)">
|
||||
<summary>Gets or sets the element at the specified index.</summary>
|
||||
<param name="index" />
|
||||
</member>
|
||||
<member name="T:Microsoft.Extensions.DependencyInjection.ServiceCollectionContainerBuilderExtensions">
|
||||
<summary>Extension methods for building a <see cref="T:Microsoft.Extensions.DependencyInjection.ServiceProvider" /> from an <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection" />.</summary>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.DependencyInjection.ServiceCollectionContainerBuilderExtensions.BuildServiceProvider(Microsoft.Extensions.DependencyInjection.IServiceCollection)">
|
||||
<summary>Creates a <see cref="T:Microsoft.Extensions.DependencyInjection.ServiceProvider" /> containing services from the provided <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection" />.</summary>
|
||||
<param name="services">The <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection" /> containing service descriptors.</param>
|
||||
<returns>The <see cref="T:Microsoft.Extensions.DependencyInjection.ServiceProvider" />.</returns>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.DependencyInjection.ServiceCollectionContainerBuilderExtensions.BuildServiceProvider(Microsoft.Extensions.DependencyInjection.IServiceCollection,Microsoft.Extensions.DependencyInjection.ServiceProviderOptions)">
|
||||
<summary>Creates a <see cref="T:Microsoft.Extensions.DependencyInjection.ServiceProvider" /> containing services from the provided <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection" /> optionally enabling service-creation and scope validation.</summary>
|
||||
<param name="services">The <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection" /> containing service descriptors.</param>
|
||||
<param name="options">Configures various service provider behaviors including service-creation and scope validation.</param>
|
||||
<returns>The <see cref="T:Microsoft.Extensions.DependencyInjection.ServiceProvider" />.</returns>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.DependencyInjection.ServiceCollectionContainerBuilderExtensions.BuildServiceProvider(Microsoft.Extensions.DependencyInjection.IServiceCollection,System.Boolean)">
|
||||
<summary>Creates a <see cref="T:Microsoft.Extensions.DependencyInjection.ServiceProvider" /> containing services from the provided <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection" />
|
||||
optionally enabling scope validation.</summary>
|
||||
<param name="services">The <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection" /> containing service descriptors.</param>
|
||||
<param name="validateScopes">
|
||||
<see langword="true" /> to perform check verifying that scoped services never gets resolved from root provider; otherwise, <see langword="false" />.</param>
|
||||
<returns>The <see cref="T:Microsoft.Extensions.DependencyInjection.ServiceProvider" />.</returns>
|
||||
</member>
|
||||
<member name="T:Microsoft.Extensions.DependencyInjection.ServiceProvider">
|
||||
<summary>The default IServiceProvider.</summary>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.DependencyInjection.ServiceProvider.Dispose">
|
||||
<summary>Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.</summary>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.DependencyInjection.ServiceProvider.DisposeAsync">
|
||||
<summary>Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources asynchronously.</summary>
|
||||
<returns>A task that represents the asynchronous dispose operation.</returns>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(System.Type)">
|
||||
<summary>Gets the service object of the specified type.</summary>
|
||||
<param name="serviceType">The type of the service to get.</param>
|
||||
<returns>The service that was produced.</returns>
|
||||
</member>
|
||||
<member name="T:Microsoft.Extensions.DependencyInjection.ServiceProviderOptions">
|
||||
<summary>Options for configuring various behaviors of the default <see cref="T:System.IServiceProvider" /> implementation.</summary>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.DependencyInjection.ServiceProviderOptions.#ctor" />
|
||||
<member name="P:Microsoft.Extensions.DependencyInjection.ServiceProviderOptions.ValidateOnBuild">
|
||||
<summary>
|
||||
<see langword="true" /> to perform check verifying that all services can be created during <see cref="MM:Microsoft.Extensions.DependencyInjection.ServiceCollectionContainerBuilderExtensions.BuildServiceProvider(Microsoft.Extensions.DependencyInjection.IServiceCollection,Microsoft.Extensions.DependencyInjection.ServiceProviderOptions)" /> call; otherwise, <see langword="false" />. Defaults to <see langword="false" />.
|
||||
NOTE: this check doesn't verify open generics services.</summary>
|
||||
</member>
|
||||
<member name="P:Microsoft.Extensions.DependencyInjection.ServiceProviderOptions.ValidateScopes">
|
||||
<summary>
|
||||
<see langword="true" /> to perform check verifying that scoped services never gets resolved from root provider; otherwise, <see langword="false" />. Defaults to <see langword="false" />.</summary>
|
||||
</member>
|
||||
</members>
|
||||
</doc>
|
||||
<assembly>
|
||||
<name>Microsoft.Extensions.DependencyInjection</name>
|
||||
</assembly>
|
||||
<members>
|
||||
<member name="M:Microsoft.Extensions.Internal.TypeNameHelper.GetTypeDisplayName(System.Type,System.Boolean,System.Boolean,System.Boolean,System.Char)">
|
||||
<summary>
|
||||
Pretty print a type name.
|
||||
</summary>
|
||||
<param name="type">The <see cref="T:System.Type"/>.</param>
|
||||
<param name="fullName"><c>true</c> to print a fully qualified name.</param>
|
||||
<param name="includeGenericParameterNames"><c>true</c> to include generic parameter names.</param>
|
||||
<param name="includeGenericParameters"><c>true</c> to include generic parameters.</param>
|
||||
<param name="nestedTypeDelimiter">Character to use as a delimiter in nested type names</param>
|
||||
<returns>The pretty printed type name.</returns>
|
||||
</member>
|
||||
<member name="T:Microsoft.Extensions.DependencyInjection.DefaultServiceProviderFactory">
|
||||
<summary>
|
||||
Default implementation of <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceProviderFactory`1"/>.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.DependencyInjection.DefaultServiceProviderFactory.#ctor">
|
||||
<summary>
|
||||
Initializes a new instance of the <see cref="T:Microsoft.Extensions.DependencyInjection.DefaultServiceProviderFactory"/> class
|
||||
with default options.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.DependencyInjection.DefaultServiceProviderFactory.#ctor(Microsoft.Extensions.DependencyInjection.ServiceProviderOptions)">
|
||||
<summary>
|
||||
Initializes a new instance of the <see cref="T:Microsoft.Extensions.DependencyInjection.DefaultServiceProviderFactory"/> class
|
||||
with the specified <paramref name="options"/>.
|
||||
</summary>
|
||||
<param name="options">The options to use for this instance.</param>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.DependencyInjection.DefaultServiceProviderFactory.CreateBuilder(Microsoft.Extensions.DependencyInjection.IServiceCollection)">
|
||||
<inheritdoc />
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.DependencyInjection.DefaultServiceProviderFactory.CreateServiceProvider(Microsoft.Extensions.DependencyInjection.IServiceCollection)">
|
||||
<inheritdoc />
|
||||
</member>
|
||||
<member name="T:Microsoft.Extensions.DependencyInjection.ServiceCollectionContainerBuilderExtensions">
|
||||
<summary>
|
||||
Extension methods for building a <see cref="T:Microsoft.Extensions.DependencyInjection.ServiceProvider"/> from an <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection"/>.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.DependencyInjection.ServiceCollectionContainerBuilderExtensions.BuildServiceProvider(Microsoft.Extensions.DependencyInjection.IServiceCollection)">
|
||||
<summary>
|
||||
Creates a <see cref="T:Microsoft.Extensions.DependencyInjection.ServiceProvider"/> containing services from the provided <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection"/>.
|
||||
</summary>
|
||||
<param name="services">The <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection"/> containing service descriptors.</param>
|
||||
<returns>The <see cref="T:Microsoft.Extensions.DependencyInjection.ServiceProvider"/>.</returns>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.DependencyInjection.ServiceCollectionContainerBuilderExtensions.BuildServiceProvider(Microsoft.Extensions.DependencyInjection.IServiceCollection,System.Boolean)">
|
||||
<summary>
|
||||
Creates a <see cref="T:Microsoft.Extensions.DependencyInjection.ServiceProvider"/> containing services from the provided <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection"/>
|
||||
optionally enabling scope validation.
|
||||
</summary>
|
||||
<param name="services">The <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection"/> containing service descriptors.</param>
|
||||
<param name="validateScopes">
|
||||
<c>true</c> to perform check verifying that scoped services never gets resolved from root provider; otherwise <c>false</c>.
|
||||
</param>
|
||||
<returns>The <see cref="T:Microsoft.Extensions.DependencyInjection.ServiceProvider"/>.</returns>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.DependencyInjection.ServiceCollectionContainerBuilderExtensions.BuildServiceProvider(Microsoft.Extensions.DependencyInjection.IServiceCollection,Microsoft.Extensions.DependencyInjection.ServiceProviderOptions)">
|
||||
<summary>
|
||||
Creates a <see cref="T:Microsoft.Extensions.DependencyInjection.ServiceProvider"/> containing services from the provided <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection"/>
|
||||
optionally enabling scope validation.
|
||||
</summary>
|
||||
<param name="services">The <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection"/> containing service descriptors.</param>
|
||||
<param name="options">
|
||||
Configures various service provider behaviors.
|
||||
</param>
|
||||
<returns>The <see cref="T:Microsoft.Extensions.DependencyInjection.ServiceProvider"/>.</returns>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteFactory.ValidateTrimmingAnnotations(System.Type,System.Type[],System.Type,System.Type[])">
|
||||
<summary>
|
||||
Validates that two generic type definitions have compatible trimming annotations on their generic arguments.
|
||||
</summary>
|
||||
<remarks>
|
||||
When open generic types are used in DI, there is an error when the concrete implementation type
|
||||
has [DynamicallyAccessedMembers] attributes on a generic argument type, but the interface/service type
|
||||
doesn't have matching annotations. The problem is that the trimmer doesn't see the members that need to
|
||||
be preserved on the type being passed to the generic argument. But when the interface/service type also has
|
||||
the annotations, the trimmer will see which members need to be preserved on the closed generic argument type.
|
||||
</remarks>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteFactory.CreateArgumentCallSites(Microsoft.Extensions.DependencyInjection.ServiceLookup.ServiceIdentifier,System.Type,Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteChain,System.Reflection.ParameterInfo[],System.Boolean)">
|
||||
<returns>Not <b>null</b> if <b>throwIfCallSiteNotFound</b> is true</returns>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteFactory.VerifyOpenGenericAotCompatibility(System.Type,System.Type[])">
|
||||
<summary>
|
||||
Verifies none of the generic type arguments are ValueTypes.
|
||||
</summary>
|
||||
<remarks>
|
||||
NativeAOT apps are not guaranteed that the native code for the closed generic of ValueType
|
||||
has been generated. To catch these problems early, this verification is enabled at development-time
|
||||
to inform the developer early that this scenario will not work once AOT'd.
|
||||
</remarks>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteFactory.KeysMatch(System.Object,System.Object)">
|
||||
<summary>
|
||||
Returns true if both keys are null or equals, or if key1 is KeyedService.AnyKey and key2 is not null
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Microsoft.Extensions.DependencyInjection.ServiceLookup.ServiceCacheKey.ServiceIdentifier">
|
||||
<summary>
|
||||
Type of service being cached
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Microsoft.Extensions.DependencyInjection.ServiceLookup.ServiceCacheKey.Slot">
|
||||
<summary>
|
||||
Reverse index of the service when resolved in <c>IEnumerable<Type></c> where default instance gets slot 0.
|
||||
For example for service collection
|
||||
IService Impl1
|
||||
IService Impl2
|
||||
IService Impl3
|
||||
We would get the following cache keys:
|
||||
Impl1 2
|
||||
Impl2 1
|
||||
Impl3 0
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.DependencyInjection.ServiceLookup.ServiceCacheKey.Equals(Microsoft.Extensions.DependencyInjection.ServiceLookup.ServiceCacheKey)">
|
||||
<summary>Indicates whether the current instance is equal to another instance of the same type.</summary>
|
||||
<param name="other">An instance to compare with this instance.</param>
|
||||
<returns>true if the current instance is equal to the other instance; otherwise, false.</returns>
|
||||
</member>
|
||||
<member name="T:Microsoft.Extensions.DependencyInjection.ServiceLookup.ServiceCallSite">
|
||||
<summary>
|
||||
Summary description for ServiceCallSite
|
||||
</summary>
|
||||
</member>
|
||||
<member name="T:Microsoft.Extensions.DependencyInjection.ServiceProvider">
|
||||
<summary>
|
||||
The default IServiceProvider.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(System.Type)">
|
||||
<summary>
|
||||
Gets the service object of the specified type.
|
||||
</summary>
|
||||
<param name="serviceType">The type of the service to get.</param>
|
||||
<returns>The service that was produced.</returns>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.DependencyInjection.ServiceProvider.GetKeyedService(System.Type,System.Object)">
|
||||
<summary>
|
||||
Gets the service object of the specified type with the specified key.
|
||||
</summary>
|
||||
<param name="serviceType">The type of the service to get.</param>
|
||||
<param name="serviceKey">The key of the service to get.</param>
|
||||
<returns>The keyed service.</returns>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.DependencyInjection.ServiceProvider.GetRequiredKeyedService(System.Type,System.Object)">
|
||||
<summary>
|
||||
Gets the service object of the specified type. Will throw if the service not found.
|
||||
</summary>
|
||||
<param name="serviceType">The type of the service to get.</param>
|
||||
<param name="serviceKey">The key of the service to get.</param>
|
||||
<returns>The keyed service.</returns>
|
||||
<exception cref="T:System.InvalidOperationException"></exception>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.DependencyInjection.ServiceProvider.Dispose">
|
||||
<inheritdoc />
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.DependencyInjection.ServiceProvider.DisposeAsync">
|
||||
<inheritdoc/>
|
||||
</member>
|
||||
<member name="T:Microsoft.Extensions.DependencyInjection.ServiceProviderOptions">
|
||||
<summary>
|
||||
Options for configuring various behaviors of the default <see cref="T:System.IServiceProvider"/> implementation.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Microsoft.Extensions.DependencyInjection.ServiceProviderOptions.ValidateScopes">
|
||||
<summary>
|
||||
<c>true</c> to perform check verifying that scoped services never gets resolved from root provider; otherwise <c>false</c>. Defaults to <c>false</c>.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Microsoft.Extensions.DependencyInjection.ServiceProviderOptions.ValidateOnBuild">
|
||||
<summary>
|
||||
<c>true</c> to perform check verifying that all services can be created during <c>BuildServiceProvider</c> call; otherwise <c>false</c>. Defaults to <c>false</c>.
|
||||
NOTE: this check doesn't verify open generics services.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="T:System.Diagnostics.CodeAnalysis.DynamicallyAccessedMembersAttribute">
|
||||
<summary>
|
||||
Indicates that certain members on a specified <see cref="T:System.Type"/> are accessed dynamically,
|
||||
for example through <see cref="N:System.Reflection"/>.
|
||||
</summary>
|
||||
<remarks>
|
||||
This allows tools to understand which members are being accessed during the execution
|
||||
of a program.
|
||||
|
||||
This attribute is valid on members whose type is <see cref="T:System.Type"/> or <see cref="T:System.String"/>.
|
||||
|
||||
When this attribute is applied to a location of type <see cref="T:System.String"/>, the assumption is
|
||||
that the string represents a fully qualified type name.
|
||||
|
||||
When this attribute is applied to a class, interface, or struct, the members specified
|
||||
can be accessed dynamically on <see cref="T:System.Type"/> instances returned from calling
|
||||
<see cref="M:System.Object.GetType"/> on instances of that class, interface, or struct.
|
||||
|
||||
If the attribute is applied to a method it's treated as a special case and it implies
|
||||
the attribute should be applied to the "this" parameter of the method. As such the attribute
|
||||
should only be used on instance methods of types assignable to System.Type (or string, but no methods
|
||||
will use it there).
|
||||
</remarks>
|
||||
</member>
|
||||
<member name="M:System.Diagnostics.CodeAnalysis.DynamicallyAccessedMembersAttribute.#ctor(System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes)">
|
||||
<summary>
|
||||
Initializes a new instance of the <see cref="T:System.Diagnostics.CodeAnalysis.DynamicallyAccessedMembersAttribute"/> class
|
||||
with the specified member types.
|
||||
</summary>
|
||||
<param name="memberTypes">The types of members dynamically accessed.</param>
|
||||
</member>
|
||||
<member name="P:System.Diagnostics.CodeAnalysis.DynamicallyAccessedMembersAttribute.MemberTypes">
|
||||
<summary>
|
||||
Gets the <see cref="T:System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes"/> which specifies the type
|
||||
of members dynamically accessed.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="T:System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes">
|
||||
<summary>
|
||||
Specifies the types of members that are dynamically accessed.
|
||||
|
||||
This enumeration has a <see cref="T:System.FlagsAttribute"/> attribute that allows a
|
||||
bitwise combination of its member values.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.None">
|
||||
<summary>
|
||||
Specifies no members.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.PublicParameterlessConstructor">
|
||||
<summary>
|
||||
Specifies the default, parameterless public constructor.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.PublicConstructors">
|
||||
<summary>
|
||||
Specifies all public constructors.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.NonPublicConstructors">
|
||||
<summary>
|
||||
Specifies all non-public constructors.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.PublicMethods">
|
||||
<summary>
|
||||
Specifies all public methods.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.NonPublicMethods">
|
||||
<summary>
|
||||
Specifies all non-public methods.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.PublicFields">
|
||||
<summary>
|
||||
Specifies all public fields.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.NonPublicFields">
|
||||
<summary>
|
||||
Specifies all non-public fields.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.PublicNestedTypes">
|
||||
<summary>
|
||||
Specifies all public nested types.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.NonPublicNestedTypes">
|
||||
<summary>
|
||||
Specifies all non-public nested types.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.PublicProperties">
|
||||
<summary>
|
||||
Specifies all public properties.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.NonPublicProperties">
|
||||
<summary>
|
||||
Specifies all non-public properties.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.PublicEvents">
|
||||
<summary>
|
||||
Specifies all public events.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.NonPublicEvents">
|
||||
<summary>
|
||||
Specifies all non-public events.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.Interfaces">
|
||||
<summary>
|
||||
Specifies all interfaces implemented by the type.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.All">
|
||||
<summary>
|
||||
Specifies all members.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="T:System.Diagnostics.CodeAnalysis.UnconditionalSuppressMessageAttribute">
|
||||
<summary>
|
||||
Suppresses reporting of a specific rule violation, allowing multiple suppressions on a
|
||||
single code artifact.
|
||||
</summary>
|
||||
<remarks>
|
||||
<see cref="T:System.Diagnostics.CodeAnalysis.UnconditionalSuppressMessageAttribute"/> is different than
|
||||
<see cref="T:System.Diagnostics.CodeAnalysis.SuppressMessageAttribute"/> in that it doesn't have a
|
||||
<see cref="T:System.Diagnostics.ConditionalAttribute"/>. So it is always preserved in the compiled assembly.
|
||||
</remarks>
|
||||
</member>
|
||||
<member name="M:System.Diagnostics.CodeAnalysis.UnconditionalSuppressMessageAttribute.#ctor(System.String,System.String)">
|
||||
<summary>
|
||||
Initializes a new instance of the <see cref="T:System.Diagnostics.CodeAnalysis.UnconditionalSuppressMessageAttribute"/>
|
||||
class, specifying the category of the tool and the identifier for an analysis rule.
|
||||
</summary>
|
||||
<param name="category">The category for the attribute.</param>
|
||||
<param name="checkId">The identifier of the analysis rule the attribute applies to.</param>
|
||||
</member>
|
||||
<member name="P:System.Diagnostics.CodeAnalysis.UnconditionalSuppressMessageAttribute.Category">
|
||||
<summary>
|
||||
Gets the category identifying the classification of the attribute.
|
||||
</summary>
|
||||
<remarks>
|
||||
The <see cref="P:System.Diagnostics.CodeAnalysis.UnconditionalSuppressMessageAttribute.Category"/> property describes the tool or tool analysis category
|
||||
for which a message suppression attribute applies.
|
||||
</remarks>
|
||||
</member>
|
||||
<member name="P:System.Diagnostics.CodeAnalysis.UnconditionalSuppressMessageAttribute.CheckId">
|
||||
<summary>
|
||||
Gets the identifier of the analysis tool rule to be suppressed.
|
||||
</summary>
|
||||
<remarks>
|
||||
Concatenated together, the <see cref="P:System.Diagnostics.CodeAnalysis.UnconditionalSuppressMessageAttribute.Category"/> and <see cref="P:System.Diagnostics.CodeAnalysis.UnconditionalSuppressMessageAttribute.CheckId"/>
|
||||
properties form a unique check identifier.
|
||||
</remarks>
|
||||
</member>
|
||||
<member name="P:System.Diagnostics.CodeAnalysis.UnconditionalSuppressMessageAttribute.Scope">
|
||||
<summary>
|
||||
Gets or sets the scope of the code that is relevant for the attribute.
|
||||
</summary>
|
||||
<remarks>
|
||||
The Scope property is an optional argument that specifies the metadata scope for which
|
||||
the attribute is relevant.
|
||||
</remarks>
|
||||
</member>
|
||||
<member name="P:System.Diagnostics.CodeAnalysis.UnconditionalSuppressMessageAttribute.Target">
|
||||
<summary>
|
||||
Gets or sets a fully qualified path that represents the target of the attribute.
|
||||
</summary>
|
||||
<remarks>
|
||||
The <see cref="P:System.Diagnostics.CodeAnalysis.UnconditionalSuppressMessageAttribute.Target"/> property is an optional argument identifying the analysis target
|
||||
of the attribute. An example value is "System.IO.Stream.ctor():System.Void".
|
||||
Because it is fully qualified, it can be long, particularly for targets such as parameters.
|
||||
The analysis tool user interface should be capable of automatically formatting the parameter.
|
||||
</remarks>
|
||||
</member>
|
||||
<member name="P:System.Diagnostics.CodeAnalysis.UnconditionalSuppressMessageAttribute.MessageId">
|
||||
<summary>
|
||||
Gets or sets an optional argument expanding on exclusion criteria.
|
||||
</summary>
|
||||
<remarks>
|
||||
The <see cref="P:System.Diagnostics.CodeAnalysis.UnconditionalSuppressMessageAttribute.MessageId"/> property is an optional argument that specifies additional
|
||||
exclusion where the literal metadata target is not sufficiently precise. For example,
|
||||
the <see cref="T:System.Diagnostics.CodeAnalysis.UnconditionalSuppressMessageAttribute"/> cannot be applied within a method,
|
||||
and it may be desirable to suppress a violation against a statement in the method that will
|
||||
give a rule violation, but not against all statements in the method.
|
||||
</remarks>
|
||||
</member>
|
||||
<member name="P:System.Diagnostics.CodeAnalysis.UnconditionalSuppressMessageAttribute.Justification">
|
||||
<summary>
|
||||
Gets or sets the justification for suppressing the code analysis message.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="T:System.Diagnostics.CodeAnalysis.RequiresDynamicCodeAttribute">
|
||||
<summary>
|
||||
Indicates that the specified method requires the ability to generate new code at runtime,
|
||||
for example through <see cref="N:System.Reflection"/>.
|
||||
</summary>
|
||||
<remarks>
|
||||
This allows tools to understand which methods are unsafe to call when compiling ahead of time.
|
||||
</remarks>
|
||||
</member>
|
||||
<member name="M:System.Diagnostics.CodeAnalysis.RequiresDynamicCodeAttribute.#ctor(System.String)">
|
||||
<summary>
|
||||
Initializes a new instance of the <see cref="T:System.Diagnostics.CodeAnalysis.RequiresDynamicCodeAttribute"/> class
|
||||
with the specified message.
|
||||
</summary>
|
||||
<param name="message">
|
||||
A message that contains information about the usage of dynamic code.
|
||||
</param>
|
||||
</member>
|
||||
<member name="P:System.Diagnostics.CodeAnalysis.RequiresDynamicCodeAttribute.Message">
|
||||
<summary>
|
||||
Gets a message that contains information about the usage of dynamic code.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:System.Diagnostics.CodeAnalysis.RequiresDynamicCodeAttribute.Url">
|
||||
<summary>
|
||||
Gets or sets an optional URL that contains more information about the method,
|
||||
why it requires dynamic code, and what options a consumer has to deal with it.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="T:System.Diagnostics.CodeAnalysis.AllowNullAttribute">
|
||||
<summary>Specifies that null is allowed as an input even if the corresponding type disallows it.</summary>
|
||||
</member>
|
||||
<member name="T:System.Diagnostics.CodeAnalysis.DisallowNullAttribute">
|
||||
<summary>Specifies that null is disallowed as an input even if the corresponding type allows it.</summary>
|
||||
</member>
|
||||
<member name="T:System.Diagnostics.CodeAnalysis.MaybeNullAttribute">
|
||||
<summary>Specifies that an output may be null even if the corresponding type disallows it.</summary>
|
||||
</member>
|
||||
<member name="T:System.Diagnostics.CodeAnalysis.NotNullAttribute">
|
||||
<summary>Specifies that an output will not be null even if the corresponding type allows it. Specifies that an input argument was not null when the call returns.</summary>
|
||||
</member>
|
||||
<member name="T:System.Diagnostics.CodeAnalysis.MaybeNullWhenAttribute">
|
||||
<summary>Specifies that when a method returns <see cref="P:System.Diagnostics.CodeAnalysis.MaybeNullWhenAttribute.ReturnValue"/>, the parameter may be null even if the corresponding type disallows it.</summary>
|
||||
</member>
|
||||
<member name="M:System.Diagnostics.CodeAnalysis.MaybeNullWhenAttribute.#ctor(System.Boolean)">
|
||||
<summary>Initializes the attribute with the specified return value condition.</summary>
|
||||
<param name="returnValue">
|
||||
The return value condition. If the method returns this value, the associated parameter may be null.
|
||||
</param>
|
||||
</member>
|
||||
<member name="P:System.Diagnostics.CodeAnalysis.MaybeNullWhenAttribute.ReturnValue">
|
||||
<summary>Gets the return value condition.</summary>
|
||||
</member>
|
||||
<member name="T:System.Diagnostics.CodeAnalysis.NotNullWhenAttribute">
|
||||
<summary>Specifies that when a method returns <see cref="P:System.Diagnostics.CodeAnalysis.NotNullWhenAttribute.ReturnValue"/>, the parameter will not be null even if the corresponding type allows it.</summary>
|
||||
</member>
|
||||
<member name="M:System.Diagnostics.CodeAnalysis.NotNullWhenAttribute.#ctor(System.Boolean)">
|
||||
<summary>Initializes the attribute with the specified return value condition.</summary>
|
||||
<param name="returnValue">
|
||||
The return value condition. If the method returns this value, the associated parameter will not be null.
|
||||
</param>
|
||||
</member>
|
||||
<member name="P:System.Diagnostics.CodeAnalysis.NotNullWhenAttribute.ReturnValue">
|
||||
<summary>Gets the return value condition.</summary>
|
||||
</member>
|
||||
<member name="T:System.Diagnostics.CodeAnalysis.NotNullIfNotNullAttribute">
|
||||
<summary>Specifies that the output will be non-null if the named parameter is non-null.</summary>
|
||||
</member>
|
||||
<member name="M:System.Diagnostics.CodeAnalysis.NotNullIfNotNullAttribute.#ctor(System.String)">
|
||||
<summary>Initializes the attribute with the associated parameter name.</summary>
|
||||
<param name="parameterName">
|
||||
The associated parameter name. The output will be non-null if the argument to the parameter specified is non-null.
|
||||
</param>
|
||||
</member>
|
||||
<member name="P:System.Diagnostics.CodeAnalysis.NotNullIfNotNullAttribute.ParameterName">
|
||||
<summary>Gets the associated parameter name.</summary>
|
||||
</member>
|
||||
<member name="T:System.Diagnostics.CodeAnalysis.DoesNotReturnAttribute">
|
||||
<summary>Applied to a method that will never return under any circumstance.</summary>
|
||||
</member>
|
||||
<member name="T:System.Diagnostics.CodeAnalysis.DoesNotReturnIfAttribute">
|
||||
<summary>Specifies that the method will not return if the associated Boolean parameter is passed the specified value.</summary>
|
||||
</member>
|
||||
<member name="M:System.Diagnostics.CodeAnalysis.DoesNotReturnIfAttribute.#ctor(System.Boolean)">
|
||||
<summary>Initializes the attribute with the specified parameter value.</summary>
|
||||
<param name="parameterValue">
|
||||
The condition parameter value. Code after the method will be considered unreachable by diagnostics if the argument to
|
||||
the associated parameter matches this value.
|
||||
</param>
|
||||
</member>
|
||||
<member name="P:System.Diagnostics.CodeAnalysis.DoesNotReturnIfAttribute.ParameterValue">
|
||||
<summary>Gets the condition parameter value.</summary>
|
||||
</member>
|
||||
<member name="T:System.Diagnostics.CodeAnalysis.MemberNotNullAttribute">
|
||||
<summary>Specifies that the method or property will ensure that the listed field and property members have not-null values.</summary>
|
||||
</member>
|
||||
<member name="M:System.Diagnostics.CodeAnalysis.MemberNotNullAttribute.#ctor(System.String)">
|
||||
<summary>Initializes the attribute with a field or property member.</summary>
|
||||
<param name="member">
|
||||
The field or property member that is promised to be not-null.
|
||||
</param>
|
||||
</member>
|
||||
<member name="M:System.Diagnostics.CodeAnalysis.MemberNotNullAttribute.#ctor(System.String[])">
|
||||
<summary>Initializes the attribute with the list of field and property members.</summary>
|
||||
<param name="members">
|
||||
The list of field and property members that are promised to be not-null.
|
||||
</param>
|
||||
</member>
|
||||
<member name="P:System.Diagnostics.CodeAnalysis.MemberNotNullAttribute.Members">
|
||||
<summary>Gets field or property member names.</summary>
|
||||
</member>
|
||||
<member name="T:System.Diagnostics.CodeAnalysis.MemberNotNullWhenAttribute">
|
||||
<summary>Specifies that the method or property will ensure that the listed field and property members have not-null values when returning with the specified return value condition.</summary>
|
||||
</member>
|
||||
<member name="M:System.Diagnostics.CodeAnalysis.MemberNotNullWhenAttribute.#ctor(System.Boolean,System.String)">
|
||||
<summary>Initializes the attribute with the specified return value condition and a field or property member.</summary>
|
||||
<param name="returnValue">
|
||||
The return value condition. If the method returns this value, the associated parameter will not be null.
|
||||
</param>
|
||||
<param name="member">
|
||||
The field or property member that is promised to be not-null.
|
||||
</param>
|
||||
</member>
|
||||
<member name="M:System.Diagnostics.CodeAnalysis.MemberNotNullWhenAttribute.#ctor(System.Boolean,System.String[])">
|
||||
<summary>Initializes the attribute with the specified return value condition and list of field and property members.</summary>
|
||||
<param name="returnValue">
|
||||
The return value condition. If the method returns this value, the associated parameter will not be null.
|
||||
</param>
|
||||
<param name="members">
|
||||
The list of field and property members that are promised to be not-null.
|
||||
</param>
|
||||
</member>
|
||||
<member name="P:System.Diagnostics.CodeAnalysis.MemberNotNullWhenAttribute.ReturnValue">
|
||||
<summary>Gets the return value condition.</summary>
|
||||
</member>
|
||||
<member name="P:System.Diagnostics.CodeAnalysis.MemberNotNullWhenAttribute.Members">
|
||||
<summary>Gets field or property member names.</summary>
|
||||
</member>
|
||||
<member name="P:System.SR.AmbiguousConstructorException">
|
||||
<summary>Unable to activate type '{0}'. The following constructors are ambiguous:</summary>
|
||||
</member>
|
||||
<member name="P:System.SR.CannotResolveService">
|
||||
<summary>Unable to resolve service for type '{0}' while attempting to activate '{1}'.</summary>
|
||||
</member>
|
||||
<member name="P:System.SR.CircularDependencyException">
|
||||
<summary>A circular dependency was detected for the service of type '{0}'.</summary>
|
||||
</member>
|
||||
<member name="P:System.SR.UnableToActivateTypeException">
|
||||
<summary>No constructor for type '{0}' can be instantiated using services from the service container and default values.</summary>
|
||||
</member>
|
||||
<member name="P:System.SR.OpenGenericServiceRequiresOpenGenericImplementation">
|
||||
<summary>Open generic service type '{0}' requires registering an open generic implementation type.</summary>
|
||||
</member>
|
||||
<member name="P:System.SR.ArityOfOpenGenericServiceNotEqualArityOfOpenGenericImplementation">
|
||||
<summary>Arity of open generic service type '{0}' does not equal arity of open generic implementation type '{1}'.</summary>
|
||||
</member>
|
||||
<member name="P:System.SR.TypeCannotBeActivated">
|
||||
<summary>Cannot instantiate implementation type '{0}' for service type '{1}'.</summary>
|
||||
</member>
|
||||
<member name="P:System.SR.NoConstructorMatch">
|
||||
<summary>A suitable constructor for type '{0}' could not be located. Ensure the type is concrete and services are registered for all parameters of a public constructor.</summary>
|
||||
</member>
|
||||
<member name="P:System.SR.ScopedInSingletonException">
|
||||
<summary>Cannot consume {2} service '{0}' from {3} '{1}'.</summary>
|
||||
</member>
|
||||
<member name="P:System.SR.ScopedResolvedFromRootException">
|
||||
<summary>Cannot resolve '{0}' from root provider because it requires {2} service '{1}'.</summary>
|
||||
</member>
|
||||
<member name="P:System.SR.DirectScopedResolvedFromRootException">
|
||||
<summary>Cannot resolve {1} service '{0}' from root provider.</summary>
|
||||
</member>
|
||||
<member name="P:System.SR.ConstantCantBeConvertedToServiceType">
|
||||
<summary>Constant value of type '{0}' can't be converted to service type '{1}'</summary>
|
||||
</member>
|
||||
<member name="P:System.SR.ImplementationTypeCantBeConvertedToServiceType">
|
||||
<summary>Implementation type '{0}' can't be converted to service type '{1}'</summary>
|
||||
</member>
|
||||
<member name="P:System.SR.AsyncDisposableServiceDispose">
|
||||
<summary>'{0}' type only implements IAsyncDisposable. Use DisposeAsync to dispose the container.</summary>
|
||||
</member>
|
||||
<member name="P:System.SR.GetCaptureDisposableNotSupported">
|
||||
<summary>GetCaptureDisposable call is supported only for main scope</summary>
|
||||
</member>
|
||||
<member name="P:System.SR.InvalidServiceDescriptor">
|
||||
<summary>Invalid service descriptor</summary>
|
||||
</member>
|
||||
<member name="P:System.SR.ServiceDescriptorNotExist">
|
||||
<summary>Requested service descriptor doesn't exist.</summary>
|
||||
</member>
|
||||
<member name="P:System.SR.CallSiteTypeNotSupported">
|
||||
<summary>Call site type {0} is not supported</summary>
|
||||
</member>
|
||||
<member name="P:System.SR.TrimmingAnnotationsDoNotMatch">
|
||||
<summary>Generic implementation type '{0}' has a DynamicallyAccessedMembers attribute applied to a generic argument type, but the service type '{1}' doesn't have a matching DynamicallyAccessedMembers attribute on its generic argument type.</summary>
|
||||
</member>
|
||||
<member name="P:System.SR.TrimmingAnnotationsDoNotMatch_NewConstraint">
|
||||
<summary>Generic implementation type '{0}' has a DefaultConstructorConstraint ('new()' constraint), but the generic service type '{1}' doesn't.</summary>
|
||||
</member>
|
||||
<member name="P:System.SR.AotCannotCreateEnumerableValueType">
|
||||
<summary>Unable to create an Enumerable service of type '{0}' because it is a ValueType. Native code to support creating Enumerable services might not be available with native AOT.</summary>
|
||||
</member>
|
||||
<member name="P:System.SR.AotCannotCreateGenericValueType">
|
||||
<summary>Unable to create a generic service for type '{0}' because '{1}' is a ValueType. Native code to support creating generic services might not be available with native AOT.</summary>
|
||||
</member>
|
||||
<member name="P:System.SR.NoServiceRegistered">
|
||||
<summary>No service for type '{0}' has been registered.</summary>
|
||||
</member>
|
||||
<member name="P:System.SR.InvalidServiceKeyType">
|
||||
<summary>The type of the key used for lookup doesn't match the type in the constructor parameter with the ServiceKey attribute.</summary>
|
||||
</member>
|
||||
<member name="T:System.Runtime.InteropServices.LibraryImportAttribute">
|
||||
<summary>
|
||||
Attribute used to indicate a source generator should create a function for marshalling
|
||||
arguments instead of relying on the runtime to generate an equivalent marshalling function at run-time.
|
||||
</summary>
|
||||
<remarks>
|
||||
This attribute is meaningless if the source generator associated with it is not enabled.
|
||||
The current built-in source generator only supports C# and only supplies an implementation when
|
||||
applied to static, partial, non-generic methods.
|
||||
</remarks>
|
||||
</member>
|
||||
<member name="M:System.Runtime.InteropServices.LibraryImportAttribute.#ctor(System.String)">
|
||||
<summary>
|
||||
Initializes a new instance of the <see cref="T:System.Runtime.InteropServices.LibraryImportAttribute"/>.
|
||||
</summary>
|
||||
<param name="libraryName">Name of the library containing the import.</param>
|
||||
</member>
|
||||
<member name="P:System.Runtime.InteropServices.LibraryImportAttribute.LibraryName">
|
||||
<summary>
|
||||
Gets the name of the library containing the import.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:System.Runtime.InteropServices.LibraryImportAttribute.EntryPoint">
|
||||
<summary>
|
||||
Gets or sets the name of the entry point to be called.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:System.Runtime.InteropServices.LibraryImportAttribute.StringMarshalling">
|
||||
<summary>
|
||||
Gets or sets how to marshal string arguments to the method.
|
||||
</summary>
|
||||
<remarks>
|
||||
If this field is set to a value other than <see cref="F:System.Runtime.InteropServices.StringMarshalling.Custom" />,
|
||||
<see cref="P:System.Runtime.InteropServices.LibraryImportAttribute.StringMarshallingCustomType" /> must not be specified.
|
||||
</remarks>
|
||||
</member>
|
||||
<member name="P:System.Runtime.InteropServices.LibraryImportAttribute.StringMarshallingCustomType">
|
||||
<summary>
|
||||
Gets or sets the <see cref="T:System.Type"/> used to control how string arguments to the method are marshalled.
|
||||
</summary>
|
||||
<remarks>
|
||||
If this field is specified, <see cref="P:System.Runtime.InteropServices.LibraryImportAttribute.StringMarshalling" /> must not be specified
|
||||
or must be set to <see cref="F:System.Runtime.InteropServices.StringMarshalling.Custom" />.
|
||||
</remarks>
|
||||
</member>
|
||||
<member name="P:System.Runtime.InteropServices.LibraryImportAttribute.SetLastError">
|
||||
<summary>
|
||||
Gets or sets whether the callee sets an error (SetLastError on Windows or errno
|
||||
on other platforms) before returning from the attributed method.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="T:System.Runtime.InteropServices.StringMarshalling">
|
||||
<summary>
|
||||
Specifies how strings should be marshalled for generated p/invokes
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:System.Runtime.InteropServices.StringMarshalling.Custom">
|
||||
<summary>
|
||||
Indicates the user is suppling a specific marshaller in <see cref="P:System.Runtime.InteropServices.LibraryImportAttribute.StringMarshallingCustomType"/>.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:System.Runtime.InteropServices.StringMarshalling.Utf8">
|
||||
<summary>
|
||||
Use the platform-provided UTF-8 marshaller.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:System.Runtime.InteropServices.StringMarshalling.Utf16">
|
||||
<summary>
|
||||
Use the platform-provided UTF-16 marshaller.
|
||||
</summary>
|
||||
</member>
|
||||
</members>
|
||||
</doc>
|
||||
|
||||
Binary file not shown.
BIN
Bin/Microsoft.Extensions.Logging.Abstractions.dll.refresh
Normal file
BIN
Bin/Microsoft.Extensions.Logging.Abstractions.dll.refresh
Normal file
Binary file not shown.
File diff suppressed because it is too large
Load Diff
Binary file not shown.
BIN
Bin/Microsoft.Extensions.Logging.dll.refresh
Normal file
BIN
Bin/Microsoft.Extensions.Logging.dll.refresh
Normal file
Binary file not shown.
@@ -1,287 +1,672 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<?xml version="1.0"?>
|
||||
<doc>
|
||||
<assembly>
|
||||
<name>Microsoft.Extensions.Logging</name>
|
||||
</assembly>
|
||||
<members>
|
||||
<member name="T:Microsoft.Extensions.DependencyInjection.LoggingServiceCollectionExtensions">
|
||||
<summary>Extension methods for setting up logging services in an <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection" />.</summary>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.DependencyInjection.LoggingServiceCollectionExtensions.AddLogging(Microsoft.Extensions.DependencyInjection.IServiceCollection)">
|
||||
<summary>Adds logging services to the specified <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection" />.</summary>
|
||||
<param name="services">The <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection" /> to add services to.</param>
|
||||
<returns>The <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection" /> so that additional calls can be chained.</returns>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.DependencyInjection.LoggingServiceCollectionExtensions.AddLogging(Microsoft.Extensions.DependencyInjection.IServiceCollection,System.Action{Microsoft.Extensions.Logging.ILoggingBuilder})">
|
||||
<summary>Adds logging services to the specified <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection" />.</summary>
|
||||
<param name="services">The <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection" /> to add services to.</param>
|
||||
<param name="configure">The <see cref="T:Microsoft.Extensions.Logging.ILoggingBuilder" /> configuration delegate.</param>
|
||||
<returns>The <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection" /> so that additional calls can be chained.</returns>
|
||||
</member>
|
||||
<member name="T:Microsoft.Extensions.Logging.ActivityTrackingOptions" />
|
||||
<member name="F:Microsoft.Extensions.Logging.ActivityTrackingOptions.None" />
|
||||
<member name="F:Microsoft.Extensions.Logging.ActivityTrackingOptions.ParentId" />
|
||||
<member name="F:Microsoft.Extensions.Logging.ActivityTrackingOptions.SpanId" />
|
||||
<member name="F:Microsoft.Extensions.Logging.ActivityTrackingOptions.TraceFlags" />
|
||||
<member name="F:Microsoft.Extensions.Logging.ActivityTrackingOptions.TraceId" />
|
||||
<member name="F:Microsoft.Extensions.Logging.ActivityTrackingOptions.TraceState" />
|
||||
<member name="T:Microsoft.Extensions.Logging.FilterLoggingBuilderExtensions">
|
||||
<summary>Extension methods for setting up logging services in an <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection" />.</summary>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.Logging.FilterLoggingBuilderExtensions.AddFilter(Microsoft.Extensions.Logging.ILoggingBuilder,System.Func{Microsoft.Extensions.Logging.LogLevel,System.Boolean})">
|
||||
<summary>Adds a log filter to the factory.</summary>
|
||||
<param name="builder">The <see cref="T:Microsoft.Extensions.Logging.ILoggingBuilder" /> to add the filter to.</param>
|
||||
<param name="levelFilter">The filter to be added.</param>
|
||||
<returns>The <see cref="T:Microsoft.Extensions.Logging.ILoggingBuilder" /> so that additional calls can be chained.</returns>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.Logging.FilterLoggingBuilderExtensions.AddFilter(Microsoft.Extensions.Logging.ILoggingBuilder,System.Func{System.String,Microsoft.Extensions.Logging.LogLevel,System.Boolean})">
|
||||
<summary>Adds a log filter to the factory.</summary>
|
||||
<param name="builder">The <see cref="T:Microsoft.Extensions.Logging.ILoggingBuilder" /> to add the filter to.</param>
|
||||
<param name="categoryLevelFilter">The filter to be added.</param>
|
||||
<returns>The <see cref="T:Microsoft.Extensions.Logging.ILoggingBuilder" /> so that additional calls can be chained.</returns>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.Logging.FilterLoggingBuilderExtensions.AddFilter(Microsoft.Extensions.Logging.ILoggingBuilder,System.Func{System.String,System.String,Microsoft.Extensions.Logging.LogLevel,System.Boolean})">
|
||||
<summary>Adds a log filter to the factory.</summary>
|
||||
<param name="builder">The <see cref="T:Microsoft.Extensions.Logging.ILoggingBuilder" /> to add the filter to.</param>
|
||||
<param name="filter">The filter to be added.</param>
|
||||
<returns>The <see cref="T:Microsoft.Extensions.Logging.ILoggingBuilder" /> so that additional calls can be chained.</returns>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.Logging.FilterLoggingBuilderExtensions.AddFilter(Microsoft.Extensions.Logging.ILoggingBuilder,System.String,Microsoft.Extensions.Logging.LogLevel)">
|
||||
<summary>Adds a log filter to the factory.</summary>
|
||||
<param name="builder">The <see cref="T:Microsoft.Extensions.Logging.ILoggingBuilder" /> to add the filter to.</param>
|
||||
<param name="category">The category to filter.</param>
|
||||
<param name="level">The level to filter.</param>
|
||||
<returns>The <see cref="T:Microsoft.Extensions.Logging.ILoggingBuilder" /> so that additional calls can be chained.</returns>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.Logging.FilterLoggingBuilderExtensions.AddFilter(Microsoft.Extensions.Logging.ILoggingBuilder,System.String,System.Func{Microsoft.Extensions.Logging.LogLevel,System.Boolean})">
|
||||
<summary>Adds a log filter to the factory.</summary>
|
||||
<param name="builder">The <see cref="T:Microsoft.Extensions.Logging.ILoggingBuilder" /> to add the filter to.</param>
|
||||
<param name="category">The category to filter.</param>
|
||||
<param name="levelFilter">The filter function to apply.</param>
|
||||
<returns>The <see cref="T:Microsoft.Extensions.Logging.ILoggingBuilder" /> so that additional calls can be chained.</returns>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.Logging.FilterLoggingBuilderExtensions.AddFilter(Microsoft.Extensions.Logging.LoggerFilterOptions,System.Func{Microsoft.Extensions.Logging.LogLevel,System.Boolean})">
|
||||
<summary>Adds a log filter to the factory.</summary>
|
||||
<param name="builder">The <see cref="T:Microsoft.Extensions.Logging.ILoggingBuilder" /> to add the filter to.</param>
|
||||
<param name="levelFilter">The filter function to apply.</param>
|
||||
<returns>The <see cref="T:Microsoft.Extensions.Logging.ILoggingBuilder" /> so that additional calls can be chained.</returns>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.Logging.FilterLoggingBuilderExtensions.AddFilter(Microsoft.Extensions.Logging.LoggerFilterOptions,System.Func{System.String,Microsoft.Extensions.Logging.LogLevel,System.Boolean})">
|
||||
<summary>Adds a log filter to the factory.</summary>
|
||||
<param name="builder">The <see cref="T:Microsoft.Extensions.Logging.ILoggingBuilder" /> to add the filter to.</param>
|
||||
<param name="categoryLevelFilter">The filter function to apply.</param>
|
||||
<returns>The <see cref="T:Microsoft.Extensions.Logging.ILoggingBuilder" /> so that additional calls can be chained.</returns>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.Logging.FilterLoggingBuilderExtensions.AddFilter(Microsoft.Extensions.Logging.LoggerFilterOptions,System.Func{System.String,System.String,Microsoft.Extensions.Logging.LogLevel,System.Boolean})">
|
||||
<summary>Adds a log filter to the factory.</summary>
|
||||
<param name="builder">The <see cref="T:Microsoft.Extensions.Logging.ILoggingBuilder" /> to add the filter to.</param>
|
||||
<param name="filter">The filter function to apply.</param>
|
||||
<returns>The <see cref="T:Microsoft.Extensions.Logging.ILoggingBuilder" /> so that additional calls can be chained.</returns>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.Logging.FilterLoggingBuilderExtensions.AddFilter(Microsoft.Extensions.Logging.LoggerFilterOptions,System.String,Microsoft.Extensions.Logging.LogLevel)">
|
||||
<summary>Adds a log filter to the factory.</summary>
|
||||
<param name="builder">The <see cref="T:Microsoft.Extensions.Logging.ILoggingBuilder" /> to add the filter to.</param>
|
||||
<param name="category">The category to filter.</param>
|
||||
<param name="level">The level to filter.</param>
|
||||
<returns>The <see cref="T:Microsoft.Extensions.Logging.ILoggingBuilder" /> so that additional calls can be chained.</returns>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.Logging.FilterLoggingBuilderExtensions.AddFilter(Microsoft.Extensions.Logging.LoggerFilterOptions,System.String,System.Func{Microsoft.Extensions.Logging.LogLevel,System.Boolean})">
|
||||
<summary>Adds a log filter to the factory.</summary>
|
||||
<param name="builder">The <see cref="T:Microsoft.Extensions.Logging.ILoggingBuilder" /> to add the filter to.</param>
|
||||
<param name="category">The category to filter.</param>
|
||||
<param name="levelFilter">The filter function to apply.</param>
|
||||
<returns>The <see cref="T:Microsoft.Extensions.Logging.ILoggingBuilder" /> so that additional calls can be chained.</returns>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.Logging.FilterLoggingBuilderExtensions.AddFilter``1(Microsoft.Extensions.Logging.ILoggingBuilder,System.Func{Microsoft.Extensions.Logging.LogLevel,System.Boolean})">
|
||||
<summary>Adds a log filter for the given <see cref="T:Microsoft.Extensions.Logging.ILoggerProvider" />.</summary>
|
||||
<param name="builder">The <see cref="T:Microsoft.Extensions.Logging.ILoggingBuilder" /> to add the filter to.</param>
|
||||
<param name="levelFilter">The filter to be added.</param>
|
||||
<typeparam name="T">The <see cref="T:Microsoft.Extensions.Logging.ILoggerProvider" /> which this filter will be added for.</typeparam>
|
||||
<returns>The <see cref="T:Microsoft.Extensions.Logging.ILoggingBuilder" /> so that additional calls can be chained.</returns>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.Logging.FilterLoggingBuilderExtensions.AddFilter``1(Microsoft.Extensions.Logging.ILoggingBuilder,System.Func{System.String,Microsoft.Extensions.Logging.LogLevel,System.Boolean})">
|
||||
<summary>Adds a log filter for the given <see cref="T:Microsoft.Extensions.Logging.ILoggerProvider" />.</summary>
|
||||
<param name="builder">The <see cref="T:Microsoft.Extensions.Logging.ILoggingBuilder" /> to add the filter to.</param>
|
||||
<param name="categoryLevelFilter">The filter to be added.</param>
|
||||
<typeparam name="T">The <see cref="T:Microsoft.Extensions.Logging.ILoggerProvider" /> which this filter will be added for.</typeparam>
|
||||
<returns>The <see cref="T:Microsoft.Extensions.Logging.ILoggingBuilder" /> so that additional calls can be chained.</returns>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.Logging.FilterLoggingBuilderExtensions.AddFilter``1(Microsoft.Extensions.Logging.ILoggingBuilder,System.String,Microsoft.Extensions.Logging.LogLevel)">
|
||||
<summary>Adds a log filter for the given <see cref="T:Microsoft.Extensions.Logging.ILoggerProvider" />.</summary>
|
||||
<param name="builder">The <see cref="T:Microsoft.Extensions.Logging.ILoggingBuilder" /> to add the filter to.</param>
|
||||
<param name="category">The category to filter.</param>
|
||||
<param name="level">The level to filter.</param>
|
||||
<typeparam name="T">The <see cref="T:Microsoft.Extensions.Logging.ILoggerProvider" /> which this filter will be added for.</typeparam>
|
||||
<returns>The <see cref="T:Microsoft.Extensions.Logging.ILoggingBuilder" /> so that additional calls can be chained.</returns>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.Logging.FilterLoggingBuilderExtensions.AddFilter``1(Microsoft.Extensions.Logging.ILoggingBuilder,System.String,System.Func{Microsoft.Extensions.Logging.LogLevel,System.Boolean})">
|
||||
<summary>Adds a log filter for the given <see cref="T:Microsoft.Extensions.Logging.ILoggerProvider" />.</summary>
|
||||
<param name="builder">The <see cref="T:Microsoft.Extensions.Logging.ILoggingBuilder" /> to add the filter to.</param>
|
||||
<param name="category">The category to filter.</param>
|
||||
<param name="levelFilter">The filter function to apply.</param>
|
||||
<typeparam name="T">The <see cref="T:Microsoft.Extensions.Logging.ILoggerProvider" /> which this filter will be added for.</typeparam>
|
||||
<returns>The <see cref="T:Microsoft.Extensions.Logging.ILoggingBuilder" /> so that additional calls can be chained.</returns>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.Logging.FilterLoggingBuilderExtensions.AddFilter``1(Microsoft.Extensions.Logging.LoggerFilterOptions,System.Func{Microsoft.Extensions.Logging.LogLevel,System.Boolean})">
|
||||
<summary>Adds a log filter for the given <see cref="T:Microsoft.Extensions.Logging.ILoggerProvider" />.</summary>
|
||||
<param name="builder">The <see cref="T:Microsoft.Extensions.Logging.ILoggingBuilder" /> to add the filter to.</param>
|
||||
<param name="levelFilter">The filter function to apply.</param>
|
||||
<typeparam name="T">The <see cref="T:Microsoft.Extensions.Logging.ILoggerProvider" /> which this filter will be added for.</typeparam>
|
||||
<returns>The <see cref="T:Microsoft.Extensions.Logging.ILoggingBuilder" /> so that additional calls can be chained.</returns>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.Logging.FilterLoggingBuilderExtensions.AddFilter``1(Microsoft.Extensions.Logging.LoggerFilterOptions,System.Func{System.String,Microsoft.Extensions.Logging.LogLevel,System.Boolean})">
|
||||
<summary>Adds a log filter for the given <see cref="T:Microsoft.Extensions.Logging.ILoggerProvider" />.</summary>
|
||||
<param name="builder">The <see cref="T:Microsoft.Extensions.Logging.ILoggingBuilder" /> to add the filter to.</param>
|
||||
<param name="categoryLevelFilter">The filter function to apply.</param>
|
||||
<typeparam name="T">The <see cref="T:Microsoft.Extensions.Logging.ILoggerProvider" /> which this filter will be added for.</typeparam>
|
||||
<returns>The <see cref="T:Microsoft.Extensions.Logging.ILoggingBuilder" /> so that additional calls can be chained.</returns>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.Logging.FilterLoggingBuilderExtensions.AddFilter``1(Microsoft.Extensions.Logging.LoggerFilterOptions,System.String,Microsoft.Extensions.Logging.LogLevel)">
|
||||
<summary>Adds a log filter for the given <see cref="T:Microsoft.Extensions.Logging.ILoggerProvider" />.</summary>
|
||||
<param name="builder">The <see cref="T:Microsoft.Extensions.Logging.ILoggingBuilder" /> to add the filter to.</param>
|
||||
<param name="category">The category to filter.</param>
|
||||
<param name="level">The level to filter.</param>
|
||||
<typeparam name="T">The <see cref="T:Microsoft.Extensions.Logging.ILoggerProvider" /> which this filter will be added for.</typeparam>
|
||||
<returns>The <see cref="T:Microsoft.Extensions.Logging.ILoggingBuilder" /> so that additional calls can be chained.</returns>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.Logging.FilterLoggingBuilderExtensions.AddFilter``1(Microsoft.Extensions.Logging.LoggerFilterOptions,System.String,System.Func{Microsoft.Extensions.Logging.LogLevel,System.Boolean})">
|
||||
<summary>Adds a log filter for the given <see cref="T:Microsoft.Extensions.Logging.ILoggerProvider" />.</summary>
|
||||
<param name="builder">The <see cref="T:Microsoft.Extensions.Logging.ILoggingBuilder" /> to add the filter to.</param>
|
||||
<param name="category">The category to filter.</param>
|
||||
<param name="levelFilter">The filter function to apply.</param>
|
||||
<typeparam name="T">The <see cref="T:Microsoft.Extensions.Logging.ILoggerProvider" /> which this filter will be added for.</typeparam>
|
||||
<returns>The <see cref="T:Microsoft.Extensions.Logging.ILoggingBuilder" /> so that additional calls can be chained.</returns>
|
||||
</member>
|
||||
<member name="T:Microsoft.Extensions.Logging.ILoggingBuilder">
|
||||
<summary>An interface for configuring logging providers.</summary>
|
||||
</member>
|
||||
<member name="P:Microsoft.Extensions.Logging.ILoggingBuilder.Services">
|
||||
<summary>Gets the <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection" /> where Logging services are configured.</summary>
|
||||
</member>
|
||||
<member name="T:Microsoft.Extensions.Logging.LoggerFactory">
|
||||
<summary>Produces instances of <see cref="T:Microsoft.Extensions.Logging.ILogger" /> classes based on the given providers.</summary>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.Logging.LoggerFactory.#ctor">
|
||||
<summary>Creates a new <see cref="T:Microsoft.Extensions.Logging.LoggerFactory" /> instance.</summary>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.Logging.LoggerFactory.#ctor(System.Collections.Generic.IEnumerable{Microsoft.Extensions.Logging.ILoggerProvider})">
|
||||
<summary>Creates a new <see cref="T:Microsoft.Extensions.Logging.LoggerFactory" /> instance.</summary>
|
||||
<param name="providers">The providers to use in producing <see cref="T:Microsoft.Extensions.Logging.ILogger" /> instances.</param>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.Logging.LoggerFactory.#ctor(System.Collections.Generic.IEnumerable{Microsoft.Extensions.Logging.ILoggerProvider},Microsoft.Extensions.Logging.LoggerFilterOptions)">
|
||||
<summary>Creates a new <see cref="T:Microsoft.Extensions.Logging.LoggerFactory" /> instance.</summary>
|
||||
<param name="providers">The providers to use in producing <see cref="T:Microsoft.Extensions.Logging.ILogger" /> instances.</param>
|
||||
<param name="filterOptions">The filter options to use.</param>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.Logging.LoggerFactory.#ctor(System.Collections.Generic.IEnumerable{Microsoft.Extensions.Logging.ILoggerProvider},Microsoft.Extensions.Options.IOptionsMonitor{Microsoft.Extensions.Logging.LoggerFilterOptions})">
|
||||
<summary>Creates a new <see cref="T:Microsoft.Extensions.Logging.LoggerFactory" /> instance.</summary>
|
||||
<param name="providers">The providers to use in producing <see cref="T:Microsoft.Extensions.Logging.ILogger" /> instances.</param>
|
||||
<param name="filterOption">The filter option to use.</param>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.Logging.LoggerFactory.#ctor(System.Collections.Generic.IEnumerable{Microsoft.Extensions.Logging.ILoggerProvider},Microsoft.Extensions.Options.IOptionsMonitor{Microsoft.Extensions.Logging.LoggerFilterOptions},Microsoft.Extensions.Options.IOptions{Microsoft.Extensions.Logging.LoggerFactoryOptions})">
|
||||
<param name="providers" />
|
||||
<param name="filterOption" />
|
||||
<param name="options" />
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.Logging.LoggerFactory.AddProvider(Microsoft.Extensions.Logging.ILoggerProvider)">
|
||||
<summary>Adds the given provider to those used in creating <see cref="T:Microsoft.Extensions.Logging.ILogger" /> instances.</summary>
|
||||
<param name="provider">The <see cref="T:Microsoft.Extensions.Logging.ILoggerProvider" /> to add.</param>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.Logging.LoggerFactory.CheckDisposed">
|
||||
<summary>Check if the factory has been disposed.</summary>
|
||||
<returns>
|
||||
<see langword="true" /> when <see cref="M:Microsoft.Extensions.Logging.LoggerFactory.Dispose" /> as been called</returns>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.Logging.LoggerFactory.Create(System.Action{Microsoft.Extensions.Logging.ILoggingBuilder})">
|
||||
<summary>Creates new instance of <see cref="T:Microsoft.Extensions.Logging.ILoggerFactory" /> configured using provided <paramref name="configure" /> delegate.</summary>
|
||||
<param name="configure">A delegate to configure the <see cref="T:Microsoft.Extensions.Logging.ILoggingBuilder" />.</param>
|
||||
<returns>The <see cref="T:Microsoft.Extensions.Logging.ILoggerFactory" /> that was created.</returns>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.Logging.LoggerFactory.CreateLogger(System.String)">
|
||||
<summary>Creates an <see cref="T:Microsoft.Extensions.Logging.ILogger" /> with the given <paramref name="categoryName" />.</summary>
|
||||
<param name="categoryName">The category name for messages produced by the logger.</param>
|
||||
<returns>The <see cref="T:Microsoft.Extensions.Logging.ILogger" /> that was created.</returns>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.Logging.LoggerFactory.Dispose">
|
||||
<summary>Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.</summary>
|
||||
</member>
|
||||
<member name="T:Microsoft.Extensions.Logging.LoggerFactoryOptions" />
|
||||
<member name="M:Microsoft.Extensions.Logging.LoggerFactoryOptions.#ctor" />
|
||||
<member name="P:Microsoft.Extensions.Logging.LoggerFactoryOptions.ActivityTrackingOptions" />
|
||||
<member name="T:Microsoft.Extensions.Logging.LoggerFilterOptions">
|
||||
<summary>The options for a LoggerFilter.</summary>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.Logging.LoggerFilterOptions.#ctor">
|
||||
<summary>Creates a new <see cref="T:Microsoft.Extensions.Logging.LoggerFilterOptions" /> instance.</summary>
|
||||
</member>
|
||||
<member name="P:Microsoft.Extensions.Logging.LoggerFilterOptions.CaptureScopes">
|
||||
<summary>Gets or sets value indicating whether logging scopes are being captured. Defaults to <see langword="true" /></summary>
|
||||
</member>
|
||||
<member name="P:Microsoft.Extensions.Logging.LoggerFilterOptions.MinLevel">
|
||||
<summary>Gets or sets the minimum level of log messages if none of the rules match.</summary>
|
||||
</member>
|
||||
<member name="P:Microsoft.Extensions.Logging.LoggerFilterOptions.Rules">
|
||||
<summary>Gets the collection of <see cref="T:Microsoft.Extensions.Logging.LoggerFilterRule" /> used for filtering log messages.</summary>
|
||||
</member>
|
||||
<member name="T:Microsoft.Extensions.Logging.LoggerFilterRule">
|
||||
<summary>Defines a rule used to filter log messages.</summary>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.Logging.LoggerFilterRule.#ctor(System.String,System.String,System.Nullable{Microsoft.Extensions.Logging.LogLevel},System.Func{System.String,System.String,Microsoft.Extensions.Logging.LogLevel,System.Boolean})">
|
||||
<summary>Creates a new <see cref="T:Microsoft.Extensions.Logging.LoggerFilterRule" /> instance.</summary>
|
||||
<param name="providerName">The provider name to use in this filter rule.</param>
|
||||
<param name="categoryName">The category name to use in this filter rule.</param>
|
||||
<param name="logLevel">The <see cref="P:Microsoft.Extensions.Logging.LoggerFilterRule.LogLevel" /> to use in this filter rule.</param>
|
||||
<param name="filter">The filter to apply.</param>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.Logging.LoggerFilterRule.ToString" />
|
||||
<member name="P:Microsoft.Extensions.Logging.LoggerFilterRule.CategoryName">
|
||||
<summary>Gets the logger category this rule applies to.</summary>
|
||||
</member>
|
||||
<member name="P:Microsoft.Extensions.Logging.LoggerFilterRule.Filter">
|
||||
<summary>Gets the filter delegate that would be applied to messages that passed the <see cref="P:Microsoft.Extensions.Logging.LoggerFilterRule.LogLevel" />.</summary>
|
||||
</member>
|
||||
<member name="P:Microsoft.Extensions.Logging.LoggerFilterRule.LogLevel">
|
||||
<summary>Gets the minimum <see cref="P:Microsoft.Extensions.Logging.LoggerFilterRule.LogLevel" /> of messages.</summary>
|
||||
</member>
|
||||
<member name="P:Microsoft.Extensions.Logging.LoggerFilterRule.ProviderName">
|
||||
<summary>Gets the logger provider type or alias this rule applies to.</summary>
|
||||
</member>
|
||||
<member name="T:Microsoft.Extensions.Logging.LoggingBuilderExtensions">
|
||||
<summary>Provides extension methods for setting up logging services in an <see cref="T:Microsoft.Extensions.Logging.ILoggingBuilder" />.</summary>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.Logging.LoggingBuilderExtensions.AddConfiguration(Microsoft.Extensions.Logging.ILoggingBuilder,Microsoft.Extensions.Configuration.IConfiguration)">
|
||||
<summary>Configures logger filter options from an instance of <see cref="T:Microsoft.Extensions.Configuration.IConfiguration" />.</summary>
|
||||
<param name="builder">The logging builder to configure logger filter options for.</param>
|
||||
<param name="configuration">The filter options to add.</param>
|
||||
<returns>The logging builder with filter options configured.</returns>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.Logging.LoggingBuilderExtensions.AddProvider(Microsoft.Extensions.Logging.ILoggingBuilder,Microsoft.Extensions.Logging.ILoggerProvider)">
|
||||
<summary>Adds the given <see cref="T:Microsoft.Extensions.Logging.ILoggerProvider" /> to the <see cref="T:Microsoft.Extensions.Logging.ILoggingBuilder" /> so that calls can be chained.</summary>
|
||||
<param name="builder">The logging builder to add the <paramref name="provider" /> to.</param>
|
||||
<param name="provider">The logger provider to add to the <paramref name="builder" />.</param>
|
||||
<returns>A logging builder that you can chain additional calls to.</returns>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.Logging.LoggingBuilderExtensions.ClearProviders(Microsoft.Extensions.Logging.ILoggingBuilder)">
|
||||
<summary>Removes all logger providers from <paramref name="builder" />.</summary>
|
||||
<param name="builder">The logging builder to remove logging providers from.</param>
|
||||
<returns>The logging builder with logger providers removed.</returns>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.Logging.LoggingBuilderExtensions.Configure" />
|
||||
<member name="M:Microsoft.Extensions.Logging.LoggingBuilderExtensions.SetMinimumLevel(Microsoft.Extensions.Logging.ILoggingBuilder,Microsoft.Extensions.Logging.LogLevel)">
|
||||
<summary>Sets a minimum <see cref="T:Microsoft.Extensions.Logging.LogLevel" /> requirement for log messages to be logged.</summary>
|
||||
<param name="builder">The logging builder to set the minimum level on.</param>
|
||||
<param name="level">One of the enumeration values to set as the minimum logging severity level.</param>
|
||||
<returns>The logging builder with minimum log level set.</returns>
|
||||
</member>
|
||||
<member name="T:Microsoft.Extensions.Logging.ProviderAliasAttribute">
|
||||
<summary>Defines alias for <see cref="T:Microsoft.Extensions.Logging.ILoggerProvider" /> implementation to be used in filtering rules.</summary>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.Logging.ProviderAliasAttribute.#ctor(System.String)">
|
||||
<summary>Creates a new <see cref="T:Microsoft.Extensions.Logging.ProviderAliasAttribute" /> instance.</summary>
|
||||
<param name="alias">The alias to set.</param>
|
||||
</member>
|
||||
<member name="P:Microsoft.Extensions.Logging.ProviderAliasAttribute.Alias">
|
||||
<summary>The alias of the provider.</summary>
|
||||
</member>
|
||||
</members>
|
||||
</doc>
|
||||
<assembly>
|
||||
<name>Microsoft.Extensions.Logging</name>
|
||||
</assembly>
|
||||
<members>
|
||||
<member name="T:Microsoft.Extensions.Logging.ActivityTrackingOptions">
|
||||
<summary>
|
||||
Flags to indicate which trace context parts should be included with the logging scopes.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:Microsoft.Extensions.Logging.ActivityTrackingOptions.None">
|
||||
<summary>
|
||||
None of the trace context part will be included in the logging.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:Microsoft.Extensions.Logging.ActivityTrackingOptions.SpanId">
|
||||
<summary>
|
||||
Span Id will be included in the logging.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:Microsoft.Extensions.Logging.ActivityTrackingOptions.TraceId">
|
||||
<summary>
|
||||
Trace Id will be included in the logging.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:Microsoft.Extensions.Logging.ActivityTrackingOptions.ParentId">
|
||||
<summary>
|
||||
Parent Id will be included in the logging.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:Microsoft.Extensions.Logging.ActivityTrackingOptions.TraceState">
|
||||
<summary>
|
||||
Trace State will be included in the logging.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:Microsoft.Extensions.Logging.ActivityTrackingOptions.TraceFlags">
|
||||
<summary>
|
||||
Trace flags will be included in the logging.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:Microsoft.Extensions.Logging.ActivityTrackingOptions.Tags">
|
||||
<summary>
|
||||
Tags will be included in the logging.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:Microsoft.Extensions.Logging.ActivityTrackingOptions.Baggage">
|
||||
<summary>
|
||||
Items of baggage will be included in the logging.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="T:Microsoft.Extensions.Logging.FilterLoggingBuilderExtensions">
|
||||
<summary>
|
||||
Extension methods for setting up logging services in an <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection" />.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.Logging.FilterLoggingBuilderExtensions.AddFilter(Microsoft.Extensions.Logging.ILoggingBuilder,System.Func{System.String,System.String,Microsoft.Extensions.Logging.LogLevel,System.Boolean})">
|
||||
<summary>
|
||||
Adds a log filter to the factory.
|
||||
</summary>
|
||||
<param name="builder">The <see cref="T:Microsoft.Extensions.Logging.ILoggingBuilder"/> to add the filter to.</param>
|
||||
<param name="filter">The filter to be added.</param>
|
||||
<returns>The <see cref="T:Microsoft.Extensions.Logging.ILoggingBuilder"/> so that additional calls can be chained.</returns>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.Logging.FilterLoggingBuilderExtensions.AddFilter(Microsoft.Extensions.Logging.ILoggingBuilder,System.Func{System.String,Microsoft.Extensions.Logging.LogLevel,System.Boolean})">
|
||||
<summary>
|
||||
Adds a log filter to the factory.
|
||||
</summary>
|
||||
<param name="builder">The <see cref="T:Microsoft.Extensions.Logging.ILoggingBuilder"/> to add the filter to.</param>
|
||||
<param name="categoryLevelFilter">The filter to be added.</param>
|
||||
<returns>The <see cref="T:Microsoft.Extensions.Logging.ILoggingBuilder"/> so that additional calls can be chained.</returns>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.Logging.FilterLoggingBuilderExtensions.AddFilter``1(Microsoft.Extensions.Logging.ILoggingBuilder,System.Func{System.String,Microsoft.Extensions.Logging.LogLevel,System.Boolean})">
|
||||
<summary>
|
||||
Adds a log filter for the given <see cref="T:Microsoft.Extensions.Logging.ILoggerProvider"/>.
|
||||
</summary>
|
||||
<param name="builder">The <see cref="T:Microsoft.Extensions.Logging.ILoggingBuilder"/> to add the filter to.</param>
|
||||
<param name="categoryLevelFilter">The filter to be added.</param>
|
||||
<typeparam name="T">The <see cref="T:Microsoft.Extensions.Logging.ILoggerProvider"/> which this filter will be added for.</typeparam>
|
||||
<returns>The <see cref="T:Microsoft.Extensions.Logging.ILoggingBuilder"/> so that additional calls can be chained.</returns>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.Logging.FilterLoggingBuilderExtensions.AddFilter(Microsoft.Extensions.Logging.ILoggingBuilder,System.Func{Microsoft.Extensions.Logging.LogLevel,System.Boolean})">
|
||||
<summary>
|
||||
Adds a log filter to the factory.
|
||||
</summary>
|
||||
<param name="builder">The <see cref="T:Microsoft.Extensions.Logging.ILoggingBuilder"/> to add the filter to.</param>
|
||||
<param name="levelFilter">The filter to be added.</param>
|
||||
<returns>The <see cref="T:Microsoft.Extensions.Logging.ILoggingBuilder"/> so that additional calls can be chained.</returns>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.Logging.FilterLoggingBuilderExtensions.AddFilter``1(Microsoft.Extensions.Logging.ILoggingBuilder,System.Func{Microsoft.Extensions.Logging.LogLevel,System.Boolean})">
|
||||
<summary>
|
||||
Adds a log filter for the given <see cref="T:Microsoft.Extensions.Logging.ILoggerProvider"/>.
|
||||
</summary>
|
||||
<param name="builder">The <see cref="T:Microsoft.Extensions.Logging.ILoggingBuilder"/> to add the filter to.</param>
|
||||
<param name="levelFilter">The filter to be added.</param>
|
||||
<typeparam name="T">The <see cref="T:Microsoft.Extensions.Logging.ILoggerProvider"/> which this filter will be added for.</typeparam>
|
||||
<returns>The <see cref="T:Microsoft.Extensions.Logging.ILoggingBuilder"/> so that additional calls can be chained.</returns>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.Logging.FilterLoggingBuilderExtensions.AddFilter(Microsoft.Extensions.Logging.ILoggingBuilder,System.String,Microsoft.Extensions.Logging.LogLevel)">
|
||||
<summary>
|
||||
Adds a log filter to the factory.
|
||||
</summary>
|
||||
<param name="builder">The <see cref="T:Microsoft.Extensions.Logging.ILoggingBuilder"/> to add the filter to.</param>
|
||||
<param name="category">The category to filter.</param>
|
||||
<param name="level">The level to filter.</param>
|
||||
<returns>The <see cref="T:Microsoft.Extensions.Logging.ILoggingBuilder"/> so that additional calls can be chained.</returns>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.Logging.FilterLoggingBuilderExtensions.AddFilter``1(Microsoft.Extensions.Logging.ILoggingBuilder,System.String,Microsoft.Extensions.Logging.LogLevel)">
|
||||
<summary>
|
||||
Adds a log filter for the given <see cref="T:Microsoft.Extensions.Logging.ILoggerProvider"/>.
|
||||
</summary>
|
||||
<param name="builder">The <see cref="T:Microsoft.Extensions.Logging.ILoggingBuilder"/> to add the filter to.</param>
|
||||
<param name="category">The category to filter.</param>
|
||||
<param name="level">The level to filter.</param>
|
||||
<typeparam name="T">The <see cref="T:Microsoft.Extensions.Logging.ILoggerProvider"/> which this filter will be added for.</typeparam>
|
||||
<returns>The <see cref="T:Microsoft.Extensions.Logging.ILoggingBuilder"/> so that additional calls can be chained.</returns>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.Logging.FilterLoggingBuilderExtensions.AddFilter(Microsoft.Extensions.Logging.ILoggingBuilder,System.String,System.Func{Microsoft.Extensions.Logging.LogLevel,System.Boolean})">
|
||||
<summary>
|
||||
Adds a log filter to the factory.
|
||||
</summary>
|
||||
<param name="builder">The <see cref="T:Microsoft.Extensions.Logging.ILoggingBuilder"/> to add the filter to.</param>
|
||||
<param name="category">The category to filter.</param>
|
||||
<param name="levelFilter">The filter function to apply.</param>
|
||||
<returns>The <see cref="T:Microsoft.Extensions.Logging.ILoggingBuilder"/> so that additional calls can be chained.</returns>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.Logging.FilterLoggingBuilderExtensions.AddFilter``1(Microsoft.Extensions.Logging.ILoggingBuilder,System.String,System.Func{Microsoft.Extensions.Logging.LogLevel,System.Boolean})">
|
||||
<summary>
|
||||
Adds a log filter for the given <see cref="T:Microsoft.Extensions.Logging.ILoggerProvider"/>.
|
||||
</summary>
|
||||
<param name="builder">The <see cref="T:Microsoft.Extensions.Logging.ILoggingBuilder"/> to add the filter to.</param>
|
||||
<param name="category">The category to filter.</param>
|
||||
<param name="levelFilter">The filter function to apply.</param>
|
||||
<typeparam name="T">The <see cref="T:Microsoft.Extensions.Logging.ILoggerProvider"/> which this filter will be added for.</typeparam>
|
||||
<returns>The <see cref="T:Microsoft.Extensions.Logging.ILoggingBuilder"/> so that additional calls can be chained.</returns>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.Logging.FilterLoggingBuilderExtensions.AddFilter(Microsoft.Extensions.Logging.LoggerFilterOptions,System.Func{System.String,System.String,Microsoft.Extensions.Logging.LogLevel,System.Boolean})">
|
||||
<summary>
|
||||
Adds a log filter to the factory.
|
||||
</summary>
|
||||
<param name="builder">The <see cref="T:Microsoft.Extensions.Logging.ILoggingBuilder"/> to add the filter to.</param>
|
||||
<param name="filter">The filter function to apply.</param>
|
||||
<returns>The <see cref="T:Microsoft.Extensions.Logging.ILoggingBuilder"/> so that additional calls can be chained.</returns>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.Logging.FilterLoggingBuilderExtensions.AddFilter(Microsoft.Extensions.Logging.LoggerFilterOptions,System.Func{System.String,Microsoft.Extensions.Logging.LogLevel,System.Boolean})">
|
||||
<summary>
|
||||
Adds a log filter to the factory.
|
||||
</summary>
|
||||
<param name="builder">The <see cref="T:Microsoft.Extensions.Logging.LoggerFilterOptions"/> to add the filter to.</param>
|
||||
<param name="categoryLevelFilter">The filter function to apply.</param>
|
||||
<returns>The <see cref="T:Microsoft.Extensions.Logging.LoggerFilterOptions"/> so that additional calls can be chained.</returns>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.Logging.FilterLoggingBuilderExtensions.AddFilter``1(Microsoft.Extensions.Logging.LoggerFilterOptions,System.Func{System.String,Microsoft.Extensions.Logging.LogLevel,System.Boolean})">
|
||||
<summary>
|
||||
Adds a log filter for the given <see cref="T:Microsoft.Extensions.Logging.ILoggerProvider"/>.
|
||||
</summary>
|
||||
<param name="builder">The <see cref="T:Microsoft.Extensions.Logging.LoggerFilterOptions"/> to add the filter to.</param>
|
||||
<param name="categoryLevelFilter">The filter function to apply.</param>
|
||||
<typeparam name="T">The <see cref="T:Microsoft.Extensions.Logging.ILoggerProvider"/> which this filter will be added for.</typeparam>
|
||||
<returns>The <see cref="T:Microsoft.Extensions.Logging.LoggerFilterOptions"/> so that additional calls can be chained.</returns>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.Logging.FilterLoggingBuilderExtensions.AddFilter(Microsoft.Extensions.Logging.LoggerFilterOptions,System.Func{Microsoft.Extensions.Logging.LogLevel,System.Boolean})">
|
||||
<summary>
|
||||
Adds a log filter to the factory.
|
||||
</summary>
|
||||
<param name="builder">The <see cref="T:Microsoft.Extensions.Logging.LoggerFilterOptions"/> to add the filter to.</param>
|
||||
<param name="levelFilter">The filter function to apply.</param>
|
||||
<returns>The <see cref="T:Microsoft.Extensions.Logging.LoggerFilterOptions"/> so that additional calls can be chained.</returns>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.Logging.FilterLoggingBuilderExtensions.AddFilter``1(Microsoft.Extensions.Logging.LoggerFilterOptions,System.Func{Microsoft.Extensions.Logging.LogLevel,System.Boolean})">
|
||||
<summary>
|
||||
Adds a log filter for the given <see cref="T:Microsoft.Extensions.Logging.ILoggerProvider"/>.
|
||||
</summary>
|
||||
<param name="builder">The <see cref="T:Microsoft.Extensions.Logging.LoggerFilterOptions"/> to add the filter to.</param>
|
||||
<param name="levelFilter">The filter function to apply.</param>
|
||||
<typeparam name="T">The <see cref="T:Microsoft.Extensions.Logging.ILoggerProvider"/> which this filter will be added for.</typeparam>
|
||||
<returns>The <see cref="T:Microsoft.Extensions.Logging.LoggerFilterOptions"/> so that additional calls can be chained.</returns>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.Logging.FilterLoggingBuilderExtensions.AddFilter(Microsoft.Extensions.Logging.LoggerFilterOptions,System.String,Microsoft.Extensions.Logging.LogLevel)">
|
||||
<summary>
|
||||
Adds a log filter to the factory.
|
||||
</summary>
|
||||
<param name="builder">The <see cref="T:Microsoft.Extensions.Logging.LoggerFilterOptions"/> to add the filter to.</param>
|
||||
<param name="category">The category to filter.</param>
|
||||
<param name="level">The level to filter.</param>
|
||||
<returns>The <see cref="T:Microsoft.Extensions.Logging.LoggerFilterOptions"/> so that additional calls can be chained.</returns>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.Logging.FilterLoggingBuilderExtensions.AddFilter``1(Microsoft.Extensions.Logging.LoggerFilterOptions,System.String,Microsoft.Extensions.Logging.LogLevel)">
|
||||
<summary>
|
||||
Adds a log filter for the given <see cref="T:Microsoft.Extensions.Logging.ILoggerProvider"/>.
|
||||
</summary>
|
||||
<param name="builder">The <see cref="T:Microsoft.Extensions.Logging.LoggerFilterOptions"/> to add the filter to.</param>
|
||||
<param name="category">The category to filter.</param>
|
||||
<param name="level">The level to filter.</param>
|
||||
<typeparam name="T">The <see cref="T:Microsoft.Extensions.Logging.ILoggerProvider"/> which this filter will be added for.</typeparam>
|
||||
<returns>The <see cref="T:Microsoft.Extensions.Logging.LoggerFilterOptions"/> so that additional calls can be chained.</returns>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.Logging.FilterLoggingBuilderExtensions.AddFilter(Microsoft.Extensions.Logging.LoggerFilterOptions,System.String,System.Func{Microsoft.Extensions.Logging.LogLevel,System.Boolean})">
|
||||
<summary>
|
||||
Adds a log filter to the factory.
|
||||
</summary>
|
||||
<param name="builder">The <see cref="T:Microsoft.Extensions.Logging.LoggerFilterOptions"/> to add the filter to.</param>
|
||||
<param name="category">The category to filter.</param>
|
||||
<param name="levelFilter">The filter function to apply.</param>
|
||||
<returns>The <see cref="T:Microsoft.Extensions.Logging.LoggerFilterOptions"/> so that additional calls can be chained.</returns>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.Logging.FilterLoggingBuilderExtensions.AddFilter``1(Microsoft.Extensions.Logging.LoggerFilterOptions,System.String,System.Func{Microsoft.Extensions.Logging.LogLevel,System.Boolean})">
|
||||
<summary>
|
||||
Adds a log filter for the given <see cref="T:Microsoft.Extensions.Logging.ILoggerProvider"/>.
|
||||
</summary>
|
||||
<param name="builder">The <see cref="T:Microsoft.Extensions.Logging.ILoggingBuilder"/> to add the filter to.</param>
|
||||
<param name="category">The category to filter.</param>
|
||||
<param name="levelFilter">The filter function to apply.</param>
|
||||
<typeparam name="T">The <see cref="T:Microsoft.Extensions.Logging.ILoggerProvider"/> which this filter will be added for.</typeparam>
|
||||
<returns>The <see cref="T:Microsoft.Extensions.Logging.ILoggingBuilder"/> so that additional calls can be chained.</returns>
|
||||
</member>
|
||||
<member name="T:Microsoft.Extensions.Logging.LoggerFactory">
|
||||
<summary>
|
||||
Produces instances of <see cref="T:Microsoft.Extensions.Logging.ILogger"/> classes based on the given providers.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.Logging.LoggerFactory.#ctor">
|
||||
<summary>
|
||||
Creates a new <see cref="T:Microsoft.Extensions.Logging.LoggerFactory"/> instance.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.Logging.LoggerFactory.#ctor(System.Collections.Generic.IEnumerable{Microsoft.Extensions.Logging.ILoggerProvider})">
|
||||
<summary>
|
||||
Creates a new <see cref="T:Microsoft.Extensions.Logging.LoggerFactory"/> instance.
|
||||
</summary>
|
||||
<param name="providers">The providers to use in producing <see cref="T:Microsoft.Extensions.Logging.ILogger"/> instances.</param>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.Logging.LoggerFactory.#ctor(System.Collections.Generic.IEnumerable{Microsoft.Extensions.Logging.ILoggerProvider},Microsoft.Extensions.Logging.LoggerFilterOptions)">
|
||||
<summary>
|
||||
Creates a new <see cref="T:Microsoft.Extensions.Logging.LoggerFactory"/> instance.
|
||||
</summary>
|
||||
<param name="providers">The providers to use in producing <see cref="T:Microsoft.Extensions.Logging.ILogger"/> instances.</param>
|
||||
<param name="filterOptions">The filter options to use.</param>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.Logging.LoggerFactory.#ctor(System.Collections.Generic.IEnumerable{Microsoft.Extensions.Logging.ILoggerProvider},Microsoft.Extensions.Options.IOptionsMonitor{Microsoft.Extensions.Logging.LoggerFilterOptions})">
|
||||
<summary>
|
||||
Creates a new <see cref="T:Microsoft.Extensions.Logging.LoggerFactory"/> instance.
|
||||
</summary>
|
||||
<param name="providers">The providers to use in producing <see cref="T:Microsoft.Extensions.Logging.ILogger"/> instances.</param>
|
||||
<param name="filterOption">The filter option to use.</param>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.Logging.LoggerFactory.#ctor(System.Collections.Generic.IEnumerable{Microsoft.Extensions.Logging.ILoggerProvider},Microsoft.Extensions.Options.IOptionsMonitor{Microsoft.Extensions.Logging.LoggerFilterOptions},Microsoft.Extensions.Options.IOptions{Microsoft.Extensions.Logging.LoggerFactoryOptions})">
|
||||
<summary>
|
||||
Creates a new <see cref="T:Microsoft.Extensions.Logging.LoggerFactory"/> instance.
|
||||
</summary>
|
||||
<param name="providers">The providers to use in producing <see cref="T:Microsoft.Extensions.Logging.ILogger"/> instances.</param>
|
||||
<param name="filterOption">The filter option to use.</param>
|
||||
<param name="options">The <see cref="T:Microsoft.Extensions.Logging.LoggerFactoryOptions"/>.</param>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.Logging.LoggerFactory.#ctor(System.Collections.Generic.IEnumerable{Microsoft.Extensions.Logging.ILoggerProvider},Microsoft.Extensions.Options.IOptionsMonitor{Microsoft.Extensions.Logging.LoggerFilterOptions},Microsoft.Extensions.Options.IOptions{Microsoft.Extensions.Logging.LoggerFactoryOptions},Microsoft.Extensions.Logging.IExternalScopeProvider)">
|
||||
<summary>
|
||||
Creates a new <see cref="T:Microsoft.Extensions.Logging.LoggerFactory"/> instance.
|
||||
</summary>
|
||||
<param name="providers">The providers to use in producing <see cref="T:Microsoft.Extensions.Logging.ILogger"/> instances.</param>
|
||||
<param name="filterOption">The filter option to use.</param>
|
||||
<param name="options">The <see cref="T:Microsoft.Extensions.Logging.LoggerFactoryOptions"/>.</param>
|
||||
<param name="scopeProvider">The <see cref="T:Microsoft.Extensions.Logging.IExternalScopeProvider"/>.</param>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.Logging.LoggerFactory.Create(System.Action{Microsoft.Extensions.Logging.ILoggingBuilder})">
|
||||
<summary>
|
||||
Creates new instance of <see cref="T:Microsoft.Extensions.Logging.ILoggerFactory"/> configured using provided <paramref name="configure"/> delegate.
|
||||
</summary>
|
||||
<param name="configure">A delegate to configure the <see cref="T:Microsoft.Extensions.Logging.ILoggingBuilder"/>.</param>
|
||||
<returns>The <see cref="T:Microsoft.Extensions.Logging.ILoggerFactory"/> that was created.</returns>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.Logging.LoggerFactory.CreateLogger(System.String)">
|
||||
<summary>
|
||||
Creates an <see cref="T:Microsoft.Extensions.Logging.ILogger"/> with the given <paramref name="categoryName"/>.
|
||||
</summary>
|
||||
<param name="categoryName">The category name for messages produced by the logger.</param>
|
||||
<returns>The <see cref="T:Microsoft.Extensions.Logging.ILogger"/> that was created.</returns>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.Logging.LoggerFactory.AddProvider(Microsoft.Extensions.Logging.ILoggerProvider)">
|
||||
<summary>
|
||||
Adds the given provider to those used in creating <see cref="T:Microsoft.Extensions.Logging.ILogger"/> instances.
|
||||
</summary>
|
||||
<param name="provider">The <see cref="T:Microsoft.Extensions.Logging.ILoggerProvider"/> to add.</param>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.Logging.LoggerFactory.CheckDisposed">
|
||||
<summary>
|
||||
Check if the factory has been disposed.
|
||||
</summary>
|
||||
<returns>True when <see cref="M:Microsoft.Extensions.Logging.LoggerFactory.Dispose"/> as been called</returns>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.Logging.LoggerFactory.Dispose">
|
||||
<inheritdoc/>
|
||||
</member>
|
||||
<member name="T:Microsoft.Extensions.Logging.LoggerFactoryOptions">
|
||||
<summary>
|
||||
The options for a LoggerFactory.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.Logging.LoggerFactoryOptions.#ctor">
|
||||
<summary>
|
||||
Creates a new <see cref="T:Microsoft.Extensions.Logging.LoggerFactoryOptions"/> instance.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Microsoft.Extensions.Logging.LoggerFactoryOptions.ActivityTrackingOptions">
|
||||
<summary>
|
||||
Gets or sets <see cref="T:Microsoft.Extensions.Logging.LoggerFactoryOptions"/> value to indicate which parts of the tracing context information should be included with the logging scopes.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="T:Microsoft.Extensions.Logging.LoggerFactoryScopeProvider">
|
||||
<summary>
|
||||
Default implementation of <see cref="T:Microsoft.Extensions.Logging.IExternalScopeProvider"/>
|
||||
</summary>
|
||||
</member>
|
||||
<member name="T:Microsoft.Extensions.Logging.LoggerFilterOptions">
|
||||
<summary>
|
||||
The options for a LoggerFilter.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.Logging.LoggerFilterOptions.#ctor">
|
||||
<summary>
|
||||
Creates a new <see cref="T:Microsoft.Extensions.Logging.LoggerFilterOptions"/> instance.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Microsoft.Extensions.Logging.LoggerFilterOptions.CaptureScopes">
|
||||
<summary>
|
||||
Gets or sets value indicating whether logging scopes are being captured. Defaults to <c>true</c>
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Microsoft.Extensions.Logging.LoggerFilterOptions.MinLevel">
|
||||
<summary>
|
||||
Gets or sets the minimum level of log messages if none of the rules match.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Microsoft.Extensions.Logging.LoggerFilterOptions.Rules">
|
||||
<summary>
|
||||
Gets the collection of <see cref="T:Microsoft.Extensions.Logging.LoggerFilterRule"/> used for filtering log messages.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="T:Microsoft.Extensions.Logging.LoggerFilterRule">
|
||||
<summary>
|
||||
Defines a rule used to filter log messages
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.Logging.LoggerFilterRule.#ctor(System.String,System.String,System.Nullable{Microsoft.Extensions.Logging.LogLevel},System.Func{System.String,System.String,Microsoft.Extensions.Logging.LogLevel,System.Boolean})">
|
||||
<summary>
|
||||
Creates a new <see cref="T:Microsoft.Extensions.Logging.LoggerFilterRule"/> instance.
|
||||
</summary>
|
||||
<param name="providerName">The provider name to use in this filter rule.</param>
|
||||
<param name="categoryName">The category name to use in this filter rule.</param>
|
||||
<param name="logLevel">The <see cref="P:Microsoft.Extensions.Logging.LoggerFilterRule.LogLevel"/> to use in this filter rule.</param>
|
||||
<param name="filter">The filter to apply.</param>
|
||||
</member>
|
||||
<member name="P:Microsoft.Extensions.Logging.LoggerFilterRule.ProviderName">
|
||||
<summary>
|
||||
Gets the logger provider type or alias this rule applies to.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Microsoft.Extensions.Logging.LoggerFilterRule.CategoryName">
|
||||
<summary>
|
||||
Gets the logger category this rule applies to.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Microsoft.Extensions.Logging.LoggerFilterRule.LogLevel">
|
||||
<summary>
|
||||
Gets the minimum <see cref="P:Microsoft.Extensions.Logging.LoggerFilterRule.LogLevel"/> of messages.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Microsoft.Extensions.Logging.LoggerFilterRule.Filter">
|
||||
<summary>
|
||||
Gets the filter delegate that would be applied to messages that passed the <see cref="P:Microsoft.Extensions.Logging.LoggerFilterRule.LogLevel"/>.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.Logging.LoggerFilterRule.ToString">
|
||||
<inheritdoc/>
|
||||
</member>
|
||||
<member name="T:Microsoft.Extensions.Logging.LoggingBuilderExtensions">
|
||||
<summary>
|
||||
Extension methods for setting up logging services in an <see cref="T:Microsoft.Extensions.Logging.ILoggingBuilder" />.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.Logging.LoggingBuilderExtensions.SetMinimumLevel(Microsoft.Extensions.Logging.ILoggingBuilder,Microsoft.Extensions.Logging.LogLevel)">
|
||||
<summary>
|
||||
Sets a minimum <see cref="T:Microsoft.Extensions.Logging.LogLevel"/> requirement for log messages to be logged.
|
||||
</summary>
|
||||
<param name="builder">The <see cref="T:Microsoft.Extensions.Logging.ILoggingBuilder"/> to set the minimum level on.</param>
|
||||
<param name="level">The <see cref="T:Microsoft.Extensions.Logging.LogLevel"/> to set as the minimum.</param>
|
||||
<returns>The <see cref="T:Microsoft.Extensions.Logging.ILoggingBuilder"/> so that additional calls can be chained.</returns>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.Logging.LoggingBuilderExtensions.AddProvider(Microsoft.Extensions.Logging.ILoggingBuilder,Microsoft.Extensions.Logging.ILoggerProvider)">
|
||||
<summary>
|
||||
Adds the given <see cref="T:Microsoft.Extensions.Logging.ILoggerProvider"/> to the <see cref="T:Microsoft.Extensions.Logging.ILoggingBuilder"/>
|
||||
</summary>
|
||||
<param name="builder">The <see cref="T:Microsoft.Extensions.Logging.ILoggingBuilder"/> to add the <paramref name="provider"/> to.</param>
|
||||
<param name="provider">The <see cref="T:Microsoft.Extensions.Logging.ILoggerProvider"/> to add to the <paramref name="builder"/>.</param>
|
||||
<returns>The <see cref="T:Microsoft.Extensions.Logging.ILoggingBuilder"/> so that additional calls can be chained.</returns>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.Logging.LoggingBuilderExtensions.ClearProviders(Microsoft.Extensions.Logging.ILoggingBuilder)">
|
||||
<summary>
|
||||
Removes all <see cref="T:Microsoft.Extensions.Logging.ILoggerProvider"/>s from <paramref name="builder"/>.
|
||||
</summary>
|
||||
<param name="builder">The <see cref="T:Microsoft.Extensions.Logging.ILoggingBuilder"/> to remove <see cref="T:Microsoft.Extensions.Logging.ILoggerProvider"/>s from.</param>
|
||||
<returns>The <see cref="T:Microsoft.Extensions.Logging.ILoggingBuilder"/> so that additional calls can be chained.</returns>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.Logging.LoggingBuilderExtensions.Configure(Microsoft.Extensions.Logging.ILoggingBuilder,System.Action{Microsoft.Extensions.Logging.LoggerFactoryOptions})">
|
||||
<summary>
|
||||
Configure the <paramref name="builder"/> with the <see cref="T:Microsoft.Extensions.Logging.LoggerFactoryOptions"/>.
|
||||
</summary>
|
||||
<param name="builder">The <see cref="T:Microsoft.Extensions.Logging.ILoggingBuilder"/> to be configured with <see cref="T:Microsoft.Extensions.Logging.LoggerFactoryOptions"/></param>
|
||||
<param name="action">The action used to configure the logger factory</param>
|
||||
<returns>The <see cref="T:Microsoft.Extensions.Logging.ILoggingBuilder"/> so that additional calls can be chained.</returns>
|
||||
</member>
|
||||
<member name="T:Microsoft.Extensions.Logging.ProviderAliasAttribute">
|
||||
<summary>
|
||||
Defines alias for <see cref="T:Microsoft.Extensions.Logging.ILoggerProvider"/> implementation to be used in filtering rules.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.Logging.ProviderAliasAttribute.#ctor(System.String)">
|
||||
<summary>
|
||||
Creates a new <see cref="T:Microsoft.Extensions.Logging.ProviderAliasAttribute"/> instance.
|
||||
</summary>
|
||||
<param name="alias">The alias to set.</param>
|
||||
</member>
|
||||
<member name="P:Microsoft.Extensions.Logging.ProviderAliasAttribute.Alias">
|
||||
<summary>
|
||||
The alias of the provider.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="T:Microsoft.Extensions.Logging.NullExternalScopeProvider">
|
||||
<summary>
|
||||
Scope provider that does nothing.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Microsoft.Extensions.Logging.NullExternalScopeProvider.Instance">
|
||||
<summary>
|
||||
Returns a cached instance of <see cref="T:Microsoft.Extensions.Logging.NullExternalScopeProvider"/>.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.Logging.NullExternalScopeProvider.Microsoft#Extensions#Logging#IExternalScopeProvider#ForEachScope``1(System.Action{System.Object,``0},``0)">
|
||||
<inheritdoc />
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.Logging.NullExternalScopeProvider.Microsoft#Extensions#Logging#IExternalScopeProvider#Push(System.Object)">
|
||||
<inheritdoc />
|
||||
</member>
|
||||
<member name="T:Microsoft.Extensions.Logging.NullScope">
|
||||
<summary>
|
||||
An empty scope without any logic
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.Logging.NullScope.Dispose">
|
||||
<inheritdoc />
|
||||
</member>
|
||||
<member name="T:Microsoft.Extensions.DependencyInjection.LoggingServiceCollectionExtensions">
|
||||
<summary>
|
||||
Extension methods for setting up logging services in an <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection" />.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.DependencyInjection.LoggingServiceCollectionExtensions.AddLogging(Microsoft.Extensions.DependencyInjection.IServiceCollection)">
|
||||
<summary>
|
||||
Adds logging services to the specified <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection" />.
|
||||
</summary>
|
||||
<param name="services">The <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection" /> to add services to.</param>
|
||||
<returns>The <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection"/> so that additional calls can be chained.</returns>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.DependencyInjection.LoggingServiceCollectionExtensions.AddLogging(Microsoft.Extensions.DependencyInjection.IServiceCollection,System.Action{Microsoft.Extensions.Logging.ILoggingBuilder})">
|
||||
<summary>
|
||||
Adds logging services to the specified <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection" />.
|
||||
</summary>
|
||||
<param name="services">The <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection" /> to add services to.</param>
|
||||
<param name="configure">The <see cref="T:Microsoft.Extensions.Logging.ILoggingBuilder"/> configuration delegate.</param>
|
||||
<returns>The <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection"/> so that additional calls can be chained.</returns>
|
||||
</member>
|
||||
<member name="M:System.ThrowHelper.ThrowIfNull(System.Object,System.String)">
|
||||
<summary>Throws an <see cref="T:System.ArgumentNullException"/> if <paramref name="argument"/> is null.</summary>
|
||||
<param name="argument">The reference type argument to validate as non-null.</param>
|
||||
<param name="paramName">The name of the parameter with which <paramref name="argument"/> corresponds.</param>
|
||||
</member>
|
||||
<member name="M:System.ThrowHelper.IfNullOrWhitespace(System.String,System.String)">
|
||||
<summary>
|
||||
Throws either an <see cref="T:System.ArgumentNullException"/> or an <see cref="T:System.ArgumentException"/>
|
||||
if the specified string is <see langword="null"/> or whitespace respectively.
|
||||
</summary>
|
||||
<param name="argument">String to be checked for <see langword="null"/> or whitespace.</param>
|
||||
<param name="paramName">The name of the parameter being checked.</param>
|
||||
<returns>The original value of <paramref name="argument"/>.</returns>
|
||||
</member>
|
||||
<member name="T:System.Runtime.InteropServices.LibraryImportAttribute">
|
||||
<summary>
|
||||
Attribute used to indicate a source generator should create a function for marshalling
|
||||
arguments instead of relying on the runtime to generate an equivalent marshalling function at run-time.
|
||||
</summary>
|
||||
<remarks>
|
||||
This attribute is meaningless if the source generator associated with it is not enabled.
|
||||
The current built-in source generator only supports C# and only supplies an implementation when
|
||||
applied to static, partial, non-generic methods.
|
||||
</remarks>
|
||||
</member>
|
||||
<member name="M:System.Runtime.InteropServices.LibraryImportAttribute.#ctor(System.String)">
|
||||
<summary>
|
||||
Initializes a new instance of the <see cref="T:System.Runtime.InteropServices.LibraryImportAttribute"/>.
|
||||
</summary>
|
||||
<param name="libraryName">Name of the library containing the import.</param>
|
||||
</member>
|
||||
<member name="P:System.Runtime.InteropServices.LibraryImportAttribute.LibraryName">
|
||||
<summary>
|
||||
Gets the name of the library containing the import.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:System.Runtime.InteropServices.LibraryImportAttribute.EntryPoint">
|
||||
<summary>
|
||||
Gets or sets the name of the entry point to be called.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:System.Runtime.InteropServices.LibraryImportAttribute.StringMarshalling">
|
||||
<summary>
|
||||
Gets or sets how to marshal string arguments to the method.
|
||||
</summary>
|
||||
<remarks>
|
||||
If this field is set to a value other than <see cref="F:System.Runtime.InteropServices.StringMarshalling.Custom" />,
|
||||
<see cref="P:System.Runtime.InteropServices.LibraryImportAttribute.StringMarshallingCustomType" /> must not be specified.
|
||||
</remarks>
|
||||
</member>
|
||||
<member name="P:System.Runtime.InteropServices.LibraryImportAttribute.StringMarshallingCustomType">
|
||||
<summary>
|
||||
Gets or sets the <see cref="T:System.Type"/> used to control how string arguments to the method are marshalled.
|
||||
</summary>
|
||||
<remarks>
|
||||
If this field is specified, <see cref="P:System.Runtime.InteropServices.LibraryImportAttribute.StringMarshalling" /> must not be specified
|
||||
or must be set to <see cref="F:System.Runtime.InteropServices.StringMarshalling.Custom" />.
|
||||
</remarks>
|
||||
</member>
|
||||
<member name="P:System.Runtime.InteropServices.LibraryImportAttribute.SetLastError">
|
||||
<summary>
|
||||
Gets or sets whether the callee sets an error (SetLastError on Windows or errno
|
||||
on other platforms) before returning from the attributed method.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="T:System.Runtime.InteropServices.StringMarshalling">
|
||||
<summary>
|
||||
Specifies how strings should be marshalled for generated p/invokes
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:System.Runtime.InteropServices.StringMarshalling.Custom">
|
||||
<summary>
|
||||
Indicates the user is suppling a specific marshaller in <see cref="P:System.Runtime.InteropServices.LibraryImportAttribute.StringMarshallingCustomType"/>.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:System.Runtime.InteropServices.StringMarshalling.Utf8">
|
||||
<summary>
|
||||
Use the platform-provided UTF-8 marshaller.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:System.Runtime.InteropServices.StringMarshalling.Utf16">
|
||||
<summary>
|
||||
Use the platform-provided UTF-16 marshaller.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:System.SR.InvalidActivityTrackingOptions">
|
||||
<summary>{0} is invalid ActivityTrackingOptions value.</summary>
|
||||
</member>
|
||||
<member name="P:System.SR.MoreThanOneWildcard">
|
||||
<summary>Only one wildcard character is allowed in category name.</summary>
|
||||
</member>
|
||||
<member name="T:System.Diagnostics.CodeAnalysis.AllowNullAttribute">
|
||||
<summary>Specifies that null is allowed as an input even if the corresponding type disallows it.</summary>
|
||||
</member>
|
||||
<member name="T:System.Diagnostics.CodeAnalysis.DisallowNullAttribute">
|
||||
<summary>Specifies that null is disallowed as an input even if the corresponding type allows it.</summary>
|
||||
</member>
|
||||
<member name="T:System.Diagnostics.CodeAnalysis.MaybeNullAttribute">
|
||||
<summary>Specifies that an output may be null even if the corresponding type disallows it.</summary>
|
||||
</member>
|
||||
<member name="T:System.Diagnostics.CodeAnalysis.NotNullAttribute">
|
||||
<summary>Specifies that an output will not be null even if the corresponding type allows it. Specifies that an input argument was not null when the call returns.</summary>
|
||||
</member>
|
||||
<member name="T:System.Diagnostics.CodeAnalysis.MaybeNullWhenAttribute">
|
||||
<summary>Specifies that when a method returns <see cref="P:System.Diagnostics.CodeAnalysis.MaybeNullWhenAttribute.ReturnValue"/>, the parameter may be null even if the corresponding type disallows it.</summary>
|
||||
</member>
|
||||
<member name="M:System.Diagnostics.CodeAnalysis.MaybeNullWhenAttribute.#ctor(System.Boolean)">
|
||||
<summary>Initializes the attribute with the specified return value condition.</summary>
|
||||
<param name="returnValue">
|
||||
The return value condition. If the method returns this value, the associated parameter may be null.
|
||||
</param>
|
||||
</member>
|
||||
<member name="P:System.Diagnostics.CodeAnalysis.MaybeNullWhenAttribute.ReturnValue">
|
||||
<summary>Gets the return value condition.</summary>
|
||||
</member>
|
||||
<member name="T:System.Diagnostics.CodeAnalysis.NotNullWhenAttribute">
|
||||
<summary>Specifies that when a method returns <see cref="P:System.Diagnostics.CodeAnalysis.NotNullWhenAttribute.ReturnValue"/>, the parameter will not be null even if the corresponding type allows it.</summary>
|
||||
</member>
|
||||
<member name="M:System.Diagnostics.CodeAnalysis.NotNullWhenAttribute.#ctor(System.Boolean)">
|
||||
<summary>Initializes the attribute with the specified return value condition.</summary>
|
||||
<param name="returnValue">
|
||||
The return value condition. If the method returns this value, the associated parameter will not be null.
|
||||
</param>
|
||||
</member>
|
||||
<member name="P:System.Diagnostics.CodeAnalysis.NotNullWhenAttribute.ReturnValue">
|
||||
<summary>Gets the return value condition.</summary>
|
||||
</member>
|
||||
<member name="T:System.Diagnostics.CodeAnalysis.NotNullIfNotNullAttribute">
|
||||
<summary>Specifies that the output will be non-null if the named parameter is non-null.</summary>
|
||||
</member>
|
||||
<member name="M:System.Diagnostics.CodeAnalysis.NotNullIfNotNullAttribute.#ctor(System.String)">
|
||||
<summary>Initializes the attribute with the associated parameter name.</summary>
|
||||
<param name="parameterName">
|
||||
The associated parameter name. The output will be non-null if the argument to the parameter specified is non-null.
|
||||
</param>
|
||||
</member>
|
||||
<member name="P:System.Diagnostics.CodeAnalysis.NotNullIfNotNullAttribute.ParameterName">
|
||||
<summary>Gets the associated parameter name.</summary>
|
||||
</member>
|
||||
<member name="T:System.Diagnostics.CodeAnalysis.DoesNotReturnAttribute">
|
||||
<summary>Applied to a method that will never return under any circumstance.</summary>
|
||||
</member>
|
||||
<member name="T:System.Diagnostics.CodeAnalysis.DoesNotReturnIfAttribute">
|
||||
<summary>Specifies that the method will not return if the associated Boolean parameter is passed the specified value.</summary>
|
||||
</member>
|
||||
<member name="M:System.Diagnostics.CodeAnalysis.DoesNotReturnIfAttribute.#ctor(System.Boolean)">
|
||||
<summary>Initializes the attribute with the specified parameter value.</summary>
|
||||
<param name="parameterValue">
|
||||
The condition parameter value. Code after the method will be considered unreachable by diagnostics if the argument to
|
||||
the associated parameter matches this value.
|
||||
</param>
|
||||
</member>
|
||||
<member name="P:System.Diagnostics.CodeAnalysis.DoesNotReturnIfAttribute.ParameterValue">
|
||||
<summary>Gets the condition parameter value.</summary>
|
||||
</member>
|
||||
<member name="T:System.Diagnostics.CodeAnalysis.MemberNotNullAttribute">
|
||||
<summary>Specifies that the method or property will ensure that the listed field and property members have not-null values.</summary>
|
||||
</member>
|
||||
<member name="M:System.Diagnostics.CodeAnalysis.MemberNotNullAttribute.#ctor(System.String)">
|
||||
<summary>Initializes the attribute with a field or property member.</summary>
|
||||
<param name="member">
|
||||
The field or property member that is promised to be not-null.
|
||||
</param>
|
||||
</member>
|
||||
<member name="M:System.Diagnostics.CodeAnalysis.MemberNotNullAttribute.#ctor(System.String[])">
|
||||
<summary>Initializes the attribute with the list of field and property members.</summary>
|
||||
<param name="members">
|
||||
The list of field and property members that are promised to be not-null.
|
||||
</param>
|
||||
</member>
|
||||
<member name="P:System.Diagnostics.CodeAnalysis.MemberNotNullAttribute.Members">
|
||||
<summary>Gets field or property member names.</summary>
|
||||
</member>
|
||||
<member name="T:System.Diagnostics.CodeAnalysis.MemberNotNullWhenAttribute">
|
||||
<summary>Specifies that the method or property will ensure that the listed field and property members have not-null values when returning with the specified return value condition.</summary>
|
||||
</member>
|
||||
<member name="M:System.Diagnostics.CodeAnalysis.MemberNotNullWhenAttribute.#ctor(System.Boolean,System.String)">
|
||||
<summary>Initializes the attribute with the specified return value condition and a field or property member.</summary>
|
||||
<param name="returnValue">
|
||||
The return value condition. If the method returns this value, the associated parameter will not be null.
|
||||
</param>
|
||||
<param name="member">
|
||||
The field or property member that is promised to be not-null.
|
||||
</param>
|
||||
</member>
|
||||
<member name="M:System.Diagnostics.CodeAnalysis.MemberNotNullWhenAttribute.#ctor(System.Boolean,System.String[])">
|
||||
<summary>Initializes the attribute with the specified return value condition and list of field and property members.</summary>
|
||||
<param name="returnValue">
|
||||
The return value condition. If the method returns this value, the associated parameter will not be null.
|
||||
</param>
|
||||
<param name="members">
|
||||
The list of field and property members that are promised to be not-null.
|
||||
</param>
|
||||
</member>
|
||||
<member name="P:System.Diagnostics.CodeAnalysis.MemberNotNullWhenAttribute.ReturnValue">
|
||||
<summary>Gets the return value condition.</summary>
|
||||
</member>
|
||||
<member name="P:System.Diagnostics.CodeAnalysis.MemberNotNullWhenAttribute.Members">
|
||||
<summary>Gets field or property member names.</summary>
|
||||
</member>
|
||||
</members>
|
||||
</doc>
|
||||
|
||||
Binary file not shown.
BIN
Bin/Microsoft.Extensions.Options.dll.refresh
Normal file
BIN
Bin/Microsoft.Extensions.Options.dll.refresh
Normal file
Binary file not shown.
File diff suppressed because it is too large
Load Diff
Binary file not shown.
BIN
Bin/Microsoft.Extensions.Primitives.dll.refresh
Normal file
BIN
Bin/Microsoft.Extensions.Primitives.dll.refresh
Normal file
Binary file not shown.
File diff suppressed because it is too large
Load Diff
BIN
Bin/Microsoft.IdentityModel.Abstractions.dll
Normal file
BIN
Bin/Microsoft.IdentityModel.Abstractions.dll
Normal file
Binary file not shown.
BIN
Bin/Microsoft.IdentityModel.Abstractions.dll.refresh
Normal file
BIN
Bin/Microsoft.IdentityModel.Abstractions.dll.refresh
Normal file
Binary file not shown.
297
Bin/Microsoft.IdentityModel.Abstractions.xml
Normal file
297
Bin/Microsoft.IdentityModel.Abstractions.xml
Normal file
@@ -0,0 +1,297 @@
|
||||
<?xml version="1.0"?>
|
||||
<doc>
|
||||
<assembly>
|
||||
<name>Microsoft.IdentityModel.Abstractions</name>
|
||||
</assembly>
|
||||
<members>
|
||||
<member name="T:Microsoft.IdentityModel.Abstractions.EventLogLevel">
|
||||
<summary>
|
||||
Defines Event Log Levels.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:Microsoft.IdentityModel.Abstractions.EventLogLevel.LogAlways">
|
||||
<summary>
|
||||
No level filtering is done on this log level. Log messages of all levels will be logged.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:Microsoft.IdentityModel.Abstractions.EventLogLevel.Critical">
|
||||
<summary>
|
||||
Logs that describe an unrecoverable application or system crash, or a catastrophic failure that requires
|
||||
immediate attention.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:Microsoft.IdentityModel.Abstractions.EventLogLevel.Error">
|
||||
<summary>
|
||||
Logs that highlight when the current flow of execution is stopped due to a failure. These should indicate a
|
||||
failure in the current activity, not an application-wide failure.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:Microsoft.IdentityModel.Abstractions.EventLogLevel.Warning">
|
||||
<summary>
|
||||
Logs that highlight an abnormal or unexpected event in the application flow, but do not otherwise cause the
|
||||
application execution to stop.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:Microsoft.IdentityModel.Abstractions.EventLogLevel.Informational">
|
||||
<summary>
|
||||
Logs that track the general flow of the application. These logs should have long-term value.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:Microsoft.IdentityModel.Abstractions.EventLogLevel.Verbose">
|
||||
<summary>
|
||||
Logs that are used for interactive investigation during development. These logs should primarily contain
|
||||
information useful for debugging and have no long-term value.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="T:Microsoft.IdentityModel.Abstractions.IIdentityLogger">
|
||||
<summary>
|
||||
Interface that needs to be implemented by classes providing logging in Microsoft identity libraries.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Microsoft.IdentityModel.Abstractions.IIdentityLogger.IsEnabled(Microsoft.IdentityModel.Abstractions.EventLogLevel)">
|
||||
<summary>
|
||||
Checks to see if logging is enabled at given <paramref name="eventLogLevel"/>.
|
||||
</summary>
|
||||
<param name="eventLogLevel">Log level of a message.</param>
|
||||
</member>
|
||||
<member name="M:Microsoft.IdentityModel.Abstractions.IIdentityLogger.Log(Microsoft.IdentityModel.Abstractions.LogEntry)">
|
||||
<summary>
|
||||
Writes a log entry.
|
||||
</summary>
|
||||
<param name="entry">Defines a structured message to be logged at the provided <see cref="P:Microsoft.IdentityModel.Abstractions.LogEntry.EventLogLevel"/>.</param>
|
||||
</member>
|
||||
<member name="T:Microsoft.IdentityModel.Abstractions.ITelemetryClient">
|
||||
<summary>
|
||||
Interface for Telemetry tracking.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Microsoft.IdentityModel.Abstractions.ITelemetryClient.ClientId">
|
||||
<summary>
|
||||
Gets or sets the application or client ID that telemetry is being sent for.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Microsoft.IdentityModel.Abstractions.ITelemetryClient.Initialize">
|
||||
<summary>
|
||||
Perform any necessary bootstrapping for the telemetry client.
|
||||
</summary>
|
||||
<remarks>
|
||||
The expectation is that this should only be called once for the lifetime of the object however the
|
||||
implementation should be idempotent.
|
||||
</remarks>
|
||||
</member>
|
||||
<member name="M:Microsoft.IdentityModel.Abstractions.ITelemetryClient.IsEnabled">
|
||||
<summary>
|
||||
Checks to see if telemetry is enabled all up.
|
||||
</summary>
|
||||
<returns>
|
||||
Returns <see langword="true"/> if telemetry should be sent; <see langword="false"/> otherwise.
|
||||
</returns>
|
||||
<remarks>
|
||||
This check should be used to gate any resource intensive operations to generate telemetry as well.
|
||||
</remarks>
|
||||
</member>
|
||||
<member name="M:Microsoft.IdentityModel.Abstractions.ITelemetryClient.IsEnabled(System.String)">
|
||||
<summary>
|
||||
Checks to see if telemetry is enabled for the named event.
|
||||
</summary>
|
||||
<param name="eventName">Name of the event to check.</param>
|
||||
<returns>
|
||||
Returns <see langword="true"/> if telemetry should be sent for <paramref name="eventName"/>;
|
||||
<see langword="false"/> otherwise.
|
||||
</returns>
|
||||
<remarks>
|
||||
This check should be used to gate any resource intensive operations to generate telemetry as well.
|
||||
</remarks>
|
||||
</member>
|
||||
<member name="M:Microsoft.IdentityModel.Abstractions.ITelemetryClient.TrackEvent(Microsoft.IdentityModel.Abstractions.TelemetryEventDetails)">
|
||||
<summary>
|
||||
Tracks an instance of a named event.
|
||||
</summary>
|
||||
<param name="eventDetails">Details of the event to track.</param>
|
||||
</member>
|
||||
<member name="M:Microsoft.IdentityModel.Abstractions.ITelemetryClient.TrackEvent(System.String,System.Collections.Generic.IDictionary{System.String,System.String},System.Collections.Generic.IDictionary{System.String,System.Int64},System.Collections.Generic.IDictionary{System.String,System.Boolean},System.Collections.Generic.IDictionary{System.String,System.DateTime},System.Collections.Generic.IDictionary{System.String,System.Double},System.Collections.Generic.IDictionary{System.String,System.Guid})">
|
||||
<summary>
|
||||
Tracks an instance of a named event.
|
||||
</summary>
|
||||
<param name="eventName">Name of the event to track. Should be unique per scenario.</param>
|
||||
<param name="stringProperties">Key value pair of strings to long with the event.</param>
|
||||
<param name="longProperties">Key value pair of longs to long with the event.</param>
|
||||
<param name="boolProperties">Key value pair of bools to long with the event.</param>
|
||||
<param name="dateTimeProperties">Key value pair of DateTimes to long with the event.</param>
|
||||
<param name="doubleProperties">Key value pair of doubles to long with the event.</param>
|
||||
<param name="guidProperties">Key value pair of Guids to long with the event.</param>
|
||||
</member>
|
||||
<member name="T:Microsoft.IdentityModel.Abstractions.LogEntry">
|
||||
<summary>
|
||||
Defines the structure of a log entry.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Microsoft.IdentityModel.Abstractions.LogEntry.EventLogLevel">
|
||||
<summary>
|
||||
Defines the <see cref="P:Microsoft.IdentityModel.Abstractions.LogEntry.EventLogLevel"/>.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Microsoft.IdentityModel.Abstractions.LogEntry.Message">
|
||||
<summary>
|
||||
Message to be logged.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Microsoft.IdentityModel.Abstractions.LogEntry.CorrelationId">
|
||||
<summary>
|
||||
A unique identifier for a request that can help with diagnostics across components.
|
||||
</summary>
|
||||
<remarks>
|
||||
Also referred to as ActivityId in Microsoft.IdentityModel.Tokens.CallContext.
|
||||
</remarks>
|
||||
</member>
|
||||
<member name="T:Microsoft.IdentityModel.Abstractions.NullIdentityModelLogger">
|
||||
<summary>
|
||||
A minimalistic <see cref="T:Microsoft.IdentityModel.Abstractions.IIdentityLogger"/> implementation that is disabled by default and doesn't log.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Microsoft.IdentityModel.Abstractions.NullIdentityModelLogger.Instance">
|
||||
<summary>
|
||||
Default instance of <see cref="T:Microsoft.IdentityModel.Abstractions.NullIdentityModelLogger"/>.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Microsoft.IdentityModel.Abstractions.NullIdentityModelLogger.IsEnabled(Microsoft.IdentityModel.Abstractions.EventLogLevel)">
|
||||
<inheritdoc/>
|
||||
</member>
|
||||
<member name="M:Microsoft.IdentityModel.Abstractions.NullIdentityModelLogger.Log(Microsoft.IdentityModel.Abstractions.LogEntry)">
|
||||
<inheritdoc/>
|
||||
</member>
|
||||
<member name="T:Microsoft.IdentityModel.Abstractions.NullTelemetryClient">
|
||||
<summary>
|
||||
The default implementation of the <see cref="T:Microsoft.IdentityModel.Abstractions.ITelemetryClient"/> interface which swallows all telemetry signals.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Microsoft.IdentityModel.Abstractions.NullTelemetryClient.ClientId">
|
||||
<inheritdoc />
|
||||
</member>
|
||||
<member name="P:Microsoft.IdentityModel.Abstractions.NullTelemetryClient.Instance">
|
||||
<summary>
|
||||
Singleton instance of <see cref="T:Microsoft.IdentityModel.Abstractions.NullTelemetryClient"/>.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Microsoft.IdentityModel.Abstractions.NullTelemetryClient.#ctor">
|
||||
<summary>
|
||||
Initializes an instance of <see cref="T:Microsoft.IdentityModel.Abstractions.NullTelemetryClient"/>.
|
||||
</summary>
|
||||
<remarks>
|
||||
Private constructor to prevent the default constructor being exposed.
|
||||
</remarks>
|
||||
</member>
|
||||
<member name="M:Microsoft.IdentityModel.Abstractions.NullTelemetryClient.IsEnabled">
|
||||
<inheritdoc />
|
||||
</member>
|
||||
<member name="M:Microsoft.IdentityModel.Abstractions.NullTelemetryClient.IsEnabled(System.String)">
|
||||
<inheritdoc/>
|
||||
</member>
|
||||
<member name="M:Microsoft.IdentityModel.Abstractions.NullTelemetryClient.Initialize">
|
||||
<inheritdoc/>
|
||||
</member>
|
||||
<member name="M:Microsoft.IdentityModel.Abstractions.NullTelemetryClient.TrackEvent(Microsoft.IdentityModel.Abstractions.TelemetryEventDetails)">
|
||||
<inheritdoc/>
|
||||
</member>
|
||||
<member name="M:Microsoft.IdentityModel.Abstractions.NullTelemetryClient.TrackEvent(System.String,System.Collections.Generic.IDictionary{System.String,System.String},System.Collections.Generic.IDictionary{System.String,System.Int64},System.Collections.Generic.IDictionary{System.String,System.Boolean},System.Collections.Generic.IDictionary{System.String,System.DateTime},System.Collections.Generic.IDictionary{System.String,System.Double},System.Collections.Generic.IDictionary{System.String,System.Guid})">
|
||||
<inheritdoc/>
|
||||
</member>
|
||||
<member name="T:Microsoft.IdentityModel.Abstractions.ObservabilityConstants">
|
||||
<summary>
|
||||
Common class containing observability constants to be used as well known metric keys.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:Microsoft.IdentityModel.Abstractions.ObservabilityConstants.Succeeded">
|
||||
<summary>
|
||||
String used for the name of the property indicating if the call was successful.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:Microsoft.IdentityModel.Abstractions.ObservabilityConstants.Duration">
|
||||
<summary>
|
||||
String used for the name of the property indicating the call in Duration (ms).
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:Microsoft.IdentityModel.Abstractions.ObservabilityConstants.ActivityId">
|
||||
<summary>
|
||||
String used for the name of the property indicating the call's Activity Id/Correlation Id.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:Microsoft.IdentityModel.Abstractions.ObservabilityConstants.ClientId">
|
||||
<summary>
|
||||
String used for the name of the property indicating the caller's ClientId.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="T:Microsoft.IdentityModel.Abstractions.TelemetryEventDetails">
|
||||
<summary>
|
||||
Details of the telemetry event.
|
||||
</summary>
|
||||
<remarks>
|
||||
This implementation is not meant to be thread-safe. This implementation would either need to be overridden or
|
||||
usage should not be concurrently operated on.
|
||||
</remarks>
|
||||
</member>
|
||||
<member name="P:Microsoft.IdentityModel.Abstractions.TelemetryEventDetails.PropertyValues">
|
||||
<summary>
|
||||
The underlying properties making up the <see cref="T:Microsoft.IdentityModel.Abstractions.TelemetryEventDetails"/>.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Microsoft.IdentityModel.Abstractions.TelemetryEventDetails.Name">
|
||||
<summary>
|
||||
Name of the telemetry event, should be unique between events.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Microsoft.IdentityModel.Abstractions.TelemetryEventDetails.Properties">
|
||||
<summary>
|
||||
Properties which describe the event.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Microsoft.IdentityModel.Abstractions.TelemetryEventDetails.SetProperty(System.String,System.String)">
|
||||
<summary>
|
||||
Sets a property on the event details.
|
||||
</summary>
|
||||
<param name="key">Property key.</param>
|
||||
<param name="value">Property value.</param>
|
||||
<exception cref="T:System.ArgumentNullException">'key' is null.</exception>
|
||||
</member>
|
||||
<member name="M:Microsoft.IdentityModel.Abstractions.TelemetryEventDetails.SetProperty(System.String,System.Int64)">
|
||||
<summary>
|
||||
Sets a property on the event details.
|
||||
</summary>
|
||||
<param name="key">Property key.</param>
|
||||
<param name="value">Property value.</param>
|
||||
<exception cref="T:System.ArgumentNullException">'key' is null.</exception>
|
||||
</member>
|
||||
<member name="M:Microsoft.IdentityModel.Abstractions.TelemetryEventDetails.SetProperty(System.String,System.Boolean)">
|
||||
<summary>
|
||||
Sets a property on the event details.
|
||||
</summary>
|
||||
<param name="key">Property key.</param>
|
||||
<param name="value">Property value.</param>
|
||||
<exception cref="T:System.ArgumentNullException">'key' is null.</exception>
|
||||
</member>
|
||||
<member name="M:Microsoft.IdentityModel.Abstractions.TelemetryEventDetails.SetProperty(System.String,System.DateTime)">
|
||||
<summary>
|
||||
Sets a property on the event details.
|
||||
</summary>
|
||||
<param name="key">Property key.</param>
|
||||
<param name="value">Property value.</param>
|
||||
<exception cref="T:System.ArgumentNullException">'key' is null.</exception>
|
||||
</member>
|
||||
<member name="M:Microsoft.IdentityModel.Abstractions.TelemetryEventDetails.SetProperty(System.String,System.Double)">
|
||||
<summary>
|
||||
Sets a property on the event details.
|
||||
</summary>
|
||||
<param name="key">Property key.</param>
|
||||
<param name="value">Property value.</param>
|
||||
<exception cref="T:System.ArgumentNullException">'key' is null.</exception>
|
||||
</member>
|
||||
<member name="M:Microsoft.IdentityModel.Abstractions.TelemetryEventDetails.SetProperty(System.String,System.Guid)">
|
||||
<summary>
|
||||
Sets a property on the event details.
|
||||
</summary>
|
||||
<param name="key">Property key.</param>
|
||||
<param name="value">Property value.</param>
|
||||
<exception cref="T:System.ArgumentNullException">'key' is null.</exception>
|
||||
</member>
|
||||
</members>
|
||||
</doc>
|
||||
Binary file not shown.
BIN
Bin/Microsoft.IdentityModel.JsonWebTokens.dll.refresh
Normal file
BIN
Bin/Microsoft.IdentityModel.JsonWebTokens.dll.refresh
Normal file
Binary file not shown.
File diff suppressed because it is too large
Load Diff
Binary file not shown.
BIN
Bin/Microsoft.IdentityModel.Logging.dll.refresh
Normal file
BIN
Bin/Microsoft.IdentityModel.Logging.dll.refresh
Normal file
Binary file not shown.
@@ -19,11 +19,21 @@
|
||||
Flag which indicates whether or not PII is shown in logs. False by default.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Microsoft.IdentityModel.Logging.IdentityModelEventSource.LogCompleteSecurityArtifact">
|
||||
<summary>
|
||||
Flag which indicates whether or not complete <see cref="T:Microsoft.IdentityModel.Logging.SecurityArtifact"/> is shown in logs when <see cref="P:Microsoft.IdentityModel.Logging.IdentityModelEventSource.ShowPII"/> is set to true. False by default.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Microsoft.IdentityModel.Logging.IdentityModelEventSource.HiddenPIIString">
|
||||
<summary>
|
||||
String that is used in place of any arguments to log messages if the 'ShowPII' flag is set to false.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Microsoft.IdentityModel.Logging.IdentityModelEventSource.HiddenSecurityArtifactString">
|
||||
<summary>
|
||||
String that is used in place of any arguments to log messages if the 'LogCompleteSecurityArtifact' flag is set to false.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Microsoft.IdentityModel.Logging.IdentityModelEventSource.HeaderWritten">
|
||||
<summary>
|
||||
Indicates whether or the log message header (contains library version, date/time, and PII debugging information) has been written.
|
||||
@@ -181,11 +191,94 @@
|
||||
<param name="key"> The name of the telemetry.</param>
|
||||
<returns> true if the key is successfully removed; otherwise, false.</returns>
|
||||
</member>
|
||||
<member name="T:Microsoft.IdentityModel.Logging.ISafeLogSecurityArtifact">
|
||||
<summary>
|
||||
Interface that provides an unsafe method to log a security artifact.
|
||||
</summary>
|
||||
<remarks>
|
||||
SecurityToken and encoded token are considered as SecurityArtifacts.
|
||||
</remarks>
|
||||
</member>
|
||||
<member name="M:Microsoft.IdentityModel.Logging.ISafeLogSecurityArtifact.UnsafeToString">
|
||||
<summary>
|
||||
Returns a string that represents the complete security artifact.
|
||||
This may include sensitive information and should only be used for debugging purposes.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="T:Microsoft.IdentityModel.Logging.LoggerContext">
|
||||
<summary>
|
||||
A context class that can be used to store work per request to aid with debugging.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Microsoft.IdentityModel.Logging.LoggerContext.#ctor">
|
||||
<summary>
|
||||
Instantiates a new <see cref="T:Microsoft.IdentityModel.Logging.LoggerContext"/> with the default activityId.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Microsoft.IdentityModel.Logging.LoggerContext.#ctor(System.Guid)">
|
||||
<summary>
|
||||
Instantiates a new <see cref="T:Microsoft.IdentityModel.Logging.LoggerContext"/> with an activityId.
|
||||
</summary>
|
||||
<param name="activityId"></param>
|
||||
</member>
|
||||
<member name="P:Microsoft.IdentityModel.Logging.LoggerContext.ActivityId">
|
||||
<summary>
|
||||
Gets or set a <see cref="T:System.Guid"/> that will be used in the call to EventSource.SetCurrentThreadActivityId before logging.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Microsoft.IdentityModel.Logging.LoggerContext.CaptureLogs">
|
||||
<summary>
|
||||
Gets or sets a boolean controlling if logs are written into the context.
|
||||
Useful when debugging.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Microsoft.IdentityModel.Logging.LoggerContext.DebugId">
|
||||
<summary>
|
||||
Gets or sets a string that helps with setting breakpoints when debugging.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Microsoft.IdentityModel.Logging.LoggerContext.Logs">
|
||||
<summary>
|
||||
The collection of logs associated with a request. Use <see cref="P:Microsoft.IdentityModel.Logging.LoggerContext.CaptureLogs"/> to control capture.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Microsoft.IdentityModel.Logging.LoggerContext.PropertyBag">
|
||||
<summary>
|
||||
Gets or sets an <see cref="T:System.Collections.Generic.IDictionary`2"/> that enables custom extensibility scenarios.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="T:Microsoft.IdentityModel.Logging.LogHelper">
|
||||
<summary>
|
||||
Helper class for logging.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Microsoft.IdentityModel.Logging.LogHelper.Logger">
|
||||
<summary>
|
||||
Gets or sets a logger to which logs will be written to.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:Microsoft.IdentityModel.Logging.LogHelper._isHeaderWritten">
|
||||
<summary>
|
||||
Indicates whether the log message header (contains library version, date/time, and PII debugging information) has been written.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:Microsoft.IdentityModel.Logging.LogHelper._piiOffLogMessage">
|
||||
<summary>
|
||||
The log message that is shown when PII is off.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:Microsoft.IdentityModel.Logging.LogHelper._piiOnLogMessage">
|
||||
<summary>
|
||||
The log message that is shown when PII is on.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Microsoft.IdentityModel.Logging.LogHelper.IsEnabled(Microsoft.IdentityModel.Abstractions.EventLogLevel)">
|
||||
<summary>
|
||||
Gets whether logging is enabled at the specified <see cref="T:Microsoft.IdentityModel.Abstractions.EventLogLevel"/>."/>
|
||||
</summary>
|
||||
<param name="level">The log level</param>
|
||||
<returns><see langword="true"/> if logging is enabled at the specified level; otherwise, <see langword="false"/>.</returns>
|
||||
</member>
|
||||
<member name="M:Microsoft.IdentityModel.Logging.LogHelper.LogArgumentNullException(System.String)">
|
||||
<summary>
|
||||
Logs an exception using the event source logger and returns new <see cref="T:System.ArgumentNullException"/> exception.
|
||||
@@ -381,11 +474,156 @@
|
||||
<param name="args">Format arguments.</param>
|
||||
<returns>Formatted string.</returns>
|
||||
</member>
|
||||
<member name="M:Microsoft.IdentityModel.Logging.LogHelper.MarkAsNonPII(System.Object)">
|
||||
<summary>
|
||||
Marks a log message argument (<paramref name="arg"/>) as NonPII.
|
||||
</summary>
|
||||
<param name="arg">A log message argument to be marked as NonPII.</param>
|
||||
<returns>An argument marked as NonPII.</returns>
|
||||
<remarks>
|
||||
Marking an argument as NonPII in <see cref="M:Microsoft.IdentityModel.Logging.LogHelper.FormatInvariant(System.String,System.Object[])"/> calls will result in logging
|
||||
that argument in cleartext, regardless of the <see cref="P:Microsoft.IdentityModel.Logging.IdentityModelEventSource.ShowPII"/> flag value.
|
||||
</remarks>
|
||||
</member>
|
||||
<member name="M:Microsoft.IdentityModel.Logging.LogHelper.MarkAsSecurityArtifact(System.Object,System.Func{System.Object,System.String})">
|
||||
<summary>
|
||||
Marks a log message argument (<paramref name="arg"/>) as SecurityArtifact.
|
||||
</summary>
|
||||
<param name="arg">A log message argument to be marked as SecurityArtifact.</param>
|
||||
<param name="callback">A callback function to log the security artifact safely.</param>
|
||||
<returns>An argument marked as SecurityArtifact.</returns>
|
||||
<remarks>
|
||||
Since even the payload may sometimes contain security artifacts, naïve disarm algorithms such as removing signatures
|
||||
will not work. For now the <paramref name="callback"/> will only be leveraged if
|
||||
<see cref="P:Microsoft.IdentityModel.Logging.IdentityModelEventSource.LogCompleteSecurityArtifact"/> is set and no unsafe callback is provided. Future changes
|
||||
may introduce a support for best effort disarm logging.
|
||||
</remarks>
|
||||
</member>
|
||||
<member name="M:Microsoft.IdentityModel.Logging.LogHelper.MarkAsSecurityArtifact(System.Object,System.Func{System.Object,System.String},System.Func{System.Object,System.String})">
|
||||
<summary>
|
||||
Marks a log message argument (<paramref name="arg"/>) as SecurityArtifact.
|
||||
</summary>
|
||||
<param name="arg">A log message argument to be marked as SecurityArtifact.</param>
|
||||
<param name="callback">A callback function to log the security artifact safely.</param>
|
||||
<param name="callbackUnsafe">A callback function to log the security artifact without scrubbing.</param>
|
||||
<returns>An argument marked as SecurityArtifact.</returns>
|
||||
<exception cref="T:System.ArgumentNullException">if <paramref name="callback"/> is null.</exception>
|
||||
<exception cref="T:System.ArgumentNullException">if <paramref name="callbackUnsafe"/> is null.</exception>
|
||||
<remarks>
|
||||
Since even the payload may sometimes contain security artifacts, naïve disarm algorithms such as removing signatures
|
||||
will not work. For now the <paramref name="callback"/> is currently unused. Future changes
|
||||
may introduce a support for best effort disarm logging which will leverage <paramref name="callback"/>.
|
||||
</remarks>
|
||||
</member>
|
||||
<member name="M:Microsoft.IdentityModel.Logging.LogHelper.MarkAsUnsafeSecurityArtifact(System.Object,System.Func{System.Object,System.String})">
|
||||
<summary>
|
||||
Marks a log message argument (<paramref name="arg"/>) as SecurityArtifact.
|
||||
</summary>
|
||||
<param name="arg">A log message argument to be marked as SecurityArtifact.</param>
|
||||
<param name="callbackUnsafe">A callback function to log the security artifact without scrubbing.</param>
|
||||
<returns>An argument marked as SecurityArtifact.</returns>
|
||||
<exception cref="T:System.ArgumentNullException">if <paramref name="callbackUnsafe"/> is null.</exception>
|
||||
</member>
|
||||
<member name="M:Microsoft.IdentityModel.Logging.LogHelper.WriteEntry(Microsoft.IdentityModel.Abstractions.EventLogLevel,System.Exception,System.String,System.Object[])">
|
||||
<summary>
|
||||
Creates a <see cref="T:Microsoft.IdentityModel.Abstractions.LogEntry"/> by using the provided event level, exception argument, string argument and arguments list.
|
||||
</summary>
|
||||
<param name="eventLogLevel"><see cref="T:Microsoft.IdentityModel.Abstractions.EventLogLevel"/></param>
|
||||
<param name="innerException"><see cref="T:System.Exception"/></param>
|
||||
<param name="message">The log message.</param>
|
||||
<param name="args">An object array that contains zero or more objects to format.</param>
|
||||
</member>
|
||||
<member name="T:Microsoft.IdentityModel.Logging.LogMessages">
|
||||
<summary>
|
||||
Log messages and codes for Microsoft.IdentityModel.Logging
|
||||
</summary>
|
||||
</member>
|
||||
<member name="T:Microsoft.IdentityModel.Logging.NonPII">
|
||||
<summary>
|
||||
An internal structure that is used to mark an argument as NonPII.
|
||||
Arguments wrapped with a NonPII structure will be considered as NonPII in the message logging process.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Microsoft.IdentityModel.Logging.NonPII.Argument">
|
||||
<summary>
|
||||
Argument wrapped with a <see cref="T:Microsoft.IdentityModel.Logging.NonPII"/> structure is considered as NonPII in the message logging process.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Microsoft.IdentityModel.Logging.NonPII.#ctor(System.Object)">
|
||||
<summary>
|
||||
Creates an instance of <see cref="T:Microsoft.IdentityModel.Logging.NonPII"/> that wraps the <paramref name="argument"/>.
|
||||
</summary>
|
||||
<param name="argument">An argument that is considered as NonPII.</param>
|
||||
</member>
|
||||
<member name="M:Microsoft.IdentityModel.Logging.NonPII.ToString">
|
||||
<summary>
|
||||
Returns a string that represents the <see cref="P:Microsoft.IdentityModel.Logging.NonPII.Argument"/>.
|
||||
</summary>
|
||||
<returns><c>Null</c> if the <see cref="P:Microsoft.IdentityModel.Logging.NonPII.Argument"/> is <see langword="null"/>, otherwise calls <see cref="M:System.ValueType.ToString"/> method of the <see cref="P:Microsoft.IdentityModel.Logging.NonPII.Argument"/>.</returns>
|
||||
</member>
|
||||
<member name="T:Microsoft.IdentityModel.Logging.SecurityArtifact">
|
||||
<summary>
|
||||
An internal structure that is used to mark an argument as SecurityArtifact.
|
||||
Arguments wrapped with a SecurityArtifact structure will be considered as a SecurityArtifact in the message logging process.
|
||||
</summary>
|
||||
<remarks>
|
||||
SecurityToken and encoded token are considered as SecurityArtifacts.
|
||||
</remarks>
|
||||
</member>
|
||||
<member name="P:Microsoft.IdentityModel.Logging.SecurityArtifact.Argument">
|
||||
<summary>
|
||||
Argument wrapped with a <see cref="T:Microsoft.IdentityModel.Logging.SecurityArtifact"/> structure is considered as SecurityArtifact in the message logging process.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:Microsoft.IdentityModel.Logging.SecurityArtifact._disarmCallback">
|
||||
<summary>
|
||||
The ToString callback delegate that returns a disarmed SecurityArtifact.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:Microsoft.IdentityModel.Logging.SecurityArtifact._callbackUnsafe">
|
||||
<summary>
|
||||
The ToString callback delegate that returns an unscrubbed SecurityArtifact.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Microsoft.IdentityModel.Logging.SecurityArtifact.#ctor(System.Object,System.Func{System.Object,System.String})">
|
||||
<summary>
|
||||
Creates an instance of <see cref="T:Microsoft.IdentityModel.Logging.SecurityArtifact"/> that wraps the <paramref name="argument"/>.
|
||||
</summary>
|
||||
<param name="argument">An argument that is considered as SecurityArtifact.</param>
|
||||
<param name="toStringCallback">A callback used to disarm the token.</param>
|
||||
<remarks>
|
||||
Since even the payload may sometimes contain security artifacts, naïve disarm algorithms (such as removing signatures
|
||||
in the case of JWTs) will not work. For now the <paramref name="toStringCallback"/> will only be leveraged if
|
||||
<see cref="P:Microsoft.IdentityModel.Logging.IdentityModelEventSource.LogCompleteSecurityArtifact"/> is set and no unsafe callback is provided. Future changes
|
||||
may introduce a support for best effort disarm logging.
|
||||
</remarks>
|
||||
</member>
|
||||
<member name="M:Microsoft.IdentityModel.Logging.SecurityArtifact.#ctor(System.Object,System.Func{System.Object,System.String},System.Func{System.Object,System.String})">
|
||||
<summary>
|
||||
Creates an instance of <see cref="T:Microsoft.IdentityModel.Logging.SecurityArtifact"/> that wraps the <paramref name="argument"/>.
|
||||
</summary>
|
||||
<param name="argument">An argument that is considered as SecurityArtifact.</param>
|
||||
<param name="toStringCallback">A ToString callback.</param>
|
||||
<param name="toStringCallbackUnsafe">A ToString callback which will return the unscrubbed artifact.</param>
|
||||
<remarks>
|
||||
Since even the payload may sometimes contain security artifacts, naïve disarm algorithms (such as removing signatures
|
||||
in the case of JWTs) will not work. For now the <paramref name="toStringCallback"/> is currently unused. Future changes
|
||||
may introduce a support for best effort disarm logging which will leverage <paramref name="toStringCallback"/>.
|
||||
</remarks>
|
||||
</member>
|
||||
<member name="M:Microsoft.IdentityModel.Logging.SecurityArtifact.UnknownSafeTokenCallback(System.Object)">
|
||||
<summary>
|
||||
A dummy callback which can be leveraged to return a standard scrubbed token in the case where expected token is unknown.
|
||||
</summary>
|
||||
<param name="_">Ignored token.</param>
|
||||
<returns>The standard scrubbed token string.</returns>
|
||||
</member>
|
||||
<member name="M:Microsoft.IdentityModel.Logging.SecurityArtifact.ToString">
|
||||
<summary>
|
||||
Returns a string that represents the <see cref="P:Microsoft.IdentityModel.Logging.SecurityArtifact.Argument"/>.
|
||||
</summary>
|
||||
<returns><c>Null</c> if the <see cref="P:Microsoft.IdentityModel.Logging.SecurityArtifact.Argument"/> is <see langword="null"/>, otherwise calls the provided safe callback on <see cref="P:Microsoft.IdentityModel.Logging.SecurityArtifact.Argument"/>.</returns>
|
||||
</member>
|
||||
<member name="T:Microsoft.IdentityModel.Logging.TextWriterEventListener">
|
||||
<summary>
|
||||
Event listener that writes logs to a file or a fileStream provided by user.
|
||||
@@ -424,5 +662,210 @@
|
||||
Releases all resources used by the current instance of the <see cref="T:Microsoft.IdentityModel.Logging.TextWriterEventListener"/> class.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="T:System.Diagnostics.CodeAnalysis.RequiresUnreferencedCodeAttribute">
|
||||
<summary>
|
||||
Indicates that the specified method requires dynamic access to code that is not referenced
|
||||
statically, for example through <see cref="N:System.Reflection"/>.
|
||||
</summary>
|
||||
<remarks>
|
||||
This allows tools to understand which methods are unsafe to call when removing unreferenced
|
||||
code from an application.
|
||||
</remarks>
|
||||
</member>
|
||||
<member name="M:System.Diagnostics.CodeAnalysis.RequiresUnreferencedCodeAttribute.#ctor(System.String)">
|
||||
<summary>
|
||||
Initializes a new instance of the <see cref="T:System.Diagnostics.CodeAnalysis.RequiresUnreferencedCodeAttribute"/> class
|
||||
with the specified message.
|
||||
</summary>
|
||||
<param name="message">
|
||||
A message that contains information about the usage of unreferenced code.
|
||||
</param>
|
||||
</member>
|
||||
<member name="P:System.Diagnostics.CodeAnalysis.RequiresUnreferencedCodeAttribute.Message">
|
||||
<summary>
|
||||
Gets a message that contains information about the usage of unreferenced code.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:System.Diagnostics.CodeAnalysis.RequiresUnreferencedCodeAttribute.Url">
|
||||
<summary>
|
||||
Gets or sets an optional URL that contains more information about the method,
|
||||
why it requires unreferenced code, and what options a consumer has to deal with it.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="T:System.Diagnostics.CodeAnalysis.UnconditionalSuppressMessageAttribute">
|
||||
<summary>
|
||||
Suppresses reporting of a specific rule violation, allowing multiple suppressions on a
|
||||
single code artifact.
|
||||
</summary>
|
||||
<remarks>
|
||||
<see cref="T:System.Diagnostics.CodeAnalysis.UnconditionalSuppressMessageAttribute"/> is different than
|
||||
<see cref="T:System.Diagnostics.CodeAnalysis.SuppressMessageAttribute"/> in that it doesn't have a
|
||||
<see cref="T:System.Diagnostics.ConditionalAttribute"/>. So it is always preserved in the compiled assembly.
|
||||
</remarks>
|
||||
</member>
|
||||
<member name="M:System.Diagnostics.CodeAnalysis.UnconditionalSuppressMessageAttribute.#ctor(System.String,System.String)">
|
||||
<summary>
|
||||
Initializes a new instance of the <see cref="T:System.Diagnostics.CodeAnalysis.UnconditionalSuppressMessageAttribute"/>
|
||||
class, specifying the category of the tool and the identifier for an analysis rule.
|
||||
</summary>
|
||||
<param name="category">The category for the attribute.</param>
|
||||
<param name="checkId">The identifier of the analysis rule the attribute applies to.</param>
|
||||
</member>
|
||||
<member name="P:System.Diagnostics.CodeAnalysis.UnconditionalSuppressMessageAttribute.Category">
|
||||
<summary>
|
||||
Gets the category identifying the classification of the attribute.
|
||||
</summary>
|
||||
<remarks>
|
||||
The <see cref="P:System.Diagnostics.CodeAnalysis.UnconditionalSuppressMessageAttribute.Category"/> property describes the tool or tool analysis category
|
||||
for which a message suppression attribute applies.
|
||||
</remarks>
|
||||
</member>
|
||||
<member name="P:System.Diagnostics.CodeAnalysis.UnconditionalSuppressMessageAttribute.CheckId">
|
||||
<summary>
|
||||
Gets the identifier of the analysis tool rule to be suppressed.
|
||||
</summary>
|
||||
<remarks>
|
||||
Concatenated together, the <see cref="P:System.Diagnostics.CodeAnalysis.UnconditionalSuppressMessageAttribute.Category"/> and <see cref="P:System.Diagnostics.CodeAnalysis.UnconditionalSuppressMessageAttribute.CheckId"/>
|
||||
properties form a unique check identifier.
|
||||
</remarks>
|
||||
</member>
|
||||
<member name="P:System.Diagnostics.CodeAnalysis.UnconditionalSuppressMessageAttribute.Scope">
|
||||
<summary>
|
||||
Gets or sets the scope of the code that is relevant for the attribute.
|
||||
</summary>
|
||||
<remarks>
|
||||
The Scope property is an optional argument that specifies the metadata scope for which
|
||||
the attribute is relevant.
|
||||
</remarks>
|
||||
</member>
|
||||
<member name="P:System.Diagnostics.CodeAnalysis.UnconditionalSuppressMessageAttribute.Target">
|
||||
<summary>
|
||||
Gets or sets a fully qualified path that represents the target of the attribute.
|
||||
</summary>
|
||||
<remarks>
|
||||
The <see cref="P:System.Diagnostics.CodeAnalysis.UnconditionalSuppressMessageAttribute.Target"/> property is an optional argument identifying the analysis target
|
||||
of the attribute. An example value is "System.IO.Stream.ctor():System.Void".
|
||||
Because it is fully qualified, it can be long, particularly for targets such as parameters.
|
||||
The analysis tool user interface should be capable of automatically formatting the parameter.
|
||||
</remarks>
|
||||
</member>
|
||||
<member name="P:System.Diagnostics.CodeAnalysis.UnconditionalSuppressMessageAttribute.MessageId">
|
||||
<summary>
|
||||
Gets or sets an optional argument expanding on exclusion criteria.
|
||||
</summary>
|
||||
<remarks>
|
||||
The <see cref="P:System.Diagnostics.CodeAnalysis.UnconditionalSuppressMessageAttribute.MessageId"/> property is an optional argument that specifies additional
|
||||
exclusion where the literal metadata target is not sufficiently precise. For example,
|
||||
the <see cref="T:System.Diagnostics.CodeAnalysis.UnconditionalSuppressMessageAttribute"/> cannot be applied within a method,
|
||||
and it may be desirable to suppress a violation against a statement in the method that will
|
||||
give a rule violation, but not against all statements in the method.
|
||||
</remarks>
|
||||
</member>
|
||||
<member name="P:System.Diagnostics.CodeAnalysis.UnconditionalSuppressMessageAttribute.Justification">
|
||||
<summary>
|
||||
Gets or sets the justification for suppressing the code analysis message.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:System.Diagnostics.CodeAnalysis.DynamicallyAccessedMembersAttribute.#ctor(System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes)">
|
||||
<summary>
|
||||
Initializes a new instance of the <see cref="T:System.Diagnostics.CodeAnalysis.DynamicallyAccessedMembersAttribute"/> class
|
||||
with the specified member types.
|
||||
</summary>
|
||||
<param name="memberTypes">The types of members dynamically accessed.</param>
|
||||
</member>
|
||||
<member name="P:System.Diagnostics.CodeAnalysis.DynamicallyAccessedMembersAttribute.MemberTypes">
|
||||
<summary>
|
||||
Gets the <see cref="T:System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes"/> which specifies the type
|
||||
of members dynamically accessed.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="T:System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes">
|
||||
<summary>
|
||||
Specifies the types of members that are dynamically accessed.
|
||||
|
||||
This enumeration has a <see cref="T:System.FlagsAttribute"/> attribute that allows a
|
||||
bitwise combination of its member values.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.None">
|
||||
<summary>
|
||||
Specifies no members.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.PublicParameterlessConstructor">
|
||||
<summary>
|
||||
Specifies the default, parameterless public constructor.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.PublicConstructors">
|
||||
<summary>
|
||||
Specifies all public constructors.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.NonPublicConstructors">
|
||||
<summary>
|
||||
Specifies all non-public constructors.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.PublicMethods">
|
||||
<summary>
|
||||
Specifies all public methods.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.NonPublicMethods">
|
||||
<summary>
|
||||
Specifies all non-public methods.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.PublicFields">
|
||||
<summary>
|
||||
Specifies all public fields.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.NonPublicFields">
|
||||
<summary>
|
||||
Specifies all non-public fields.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.PublicNestedTypes">
|
||||
<summary>
|
||||
Specifies all public nested types.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.NonPublicNestedTypes">
|
||||
<summary>
|
||||
Specifies all non-public nested types.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.PublicProperties">
|
||||
<summary>
|
||||
Specifies all public properties.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.NonPublicProperties">
|
||||
<summary>
|
||||
Specifies all non-public properties.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.PublicEvents">
|
||||
<summary>
|
||||
Specifies all public events.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.NonPublicEvents">
|
||||
<summary>
|
||||
Specifies all non-public events.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.Interfaces">
|
||||
<summary>
|
||||
Specifies all interfaces implemented by the type.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.All">
|
||||
<summary>
|
||||
Specifies all members.
|
||||
</summary>
|
||||
</member>
|
||||
</members>
|
||||
</doc>
|
||||
|
||||
Binary file not shown.
BIN
Bin/Microsoft.IdentityModel.Tokens.dll.refresh
Normal file
BIN
Bin/Microsoft.IdentityModel.Tokens.dll.refresh
Normal file
Binary file not shown.
File diff suppressed because it is too large
Load Diff
Binary file not shown.
BIN
Bin/Microsoft.Owin.dll.refresh
Normal file
BIN
Bin/Microsoft.Owin.dll.refresh
Normal file
Binary file not shown.
File diff suppressed because it is too large
Load Diff
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
57495
Bin/MimeKit.xml
Normal file
57495
Bin/MimeKit.xml
Normal file
File diff suppressed because it is too large
Load Diff
Binary file not shown.
BIN
Bin/System.Data.SqlClient.dll.refresh
Normal file
BIN
Bin/System.Data.SqlClient.dll.refresh
Normal file
Binary file not shown.
Binary file not shown.
BIN
Bin/System.Diagnostics.DiagnosticSource.dll.refresh
Normal file
BIN
Bin/System.Diagnostics.DiagnosticSource.dll.refresh
Normal file
Binary file not shown.
File diff suppressed because it is too large
Load Diff
Binary file not shown.
BIN
Bin/System.Drawing.Common.dll.refresh
Normal file
BIN
Bin/System.Drawing.Common.dll.refresh
Normal file
Binary file not shown.
12655
Bin/System.Drawing.Common.xml
Normal file
12655
Bin/System.Drawing.Common.xml
Normal file
File diff suppressed because it is too large
Load Diff
BIN
Bin/System.Formats.Asn1.dll
Normal file
BIN
Bin/System.Formats.Asn1.dll
Normal file
Binary file not shown.
Binary file not shown.
BIN
Bin/System.IdentityModel.Tokens.Jwt.dll.refresh
Normal file
BIN
Bin/System.IdentityModel.Tokens.Jwt.dll.refresh
Normal file
Binary file not shown.
@@ -4,109 +4,31 @@
|
||||
<name>System.IdentityModel.Tokens.Jwt</name>
|
||||
</assembly>
|
||||
<members>
|
||||
<member name="T:System.IdentityModel.Tokens.Jwt.ClaimTypeMapping">
|
||||
<summary>
|
||||
Defines the inbound and outbound mapping for claim claim types from jwt to .net claim
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:System.IdentityModel.Tokens.Jwt.ClaimTypeMapping.#cctor">
|
||||
<summary>
|
||||
Initializes static members of the <see cref="T:System.IdentityModel.Tokens.Jwt.ClaimTypeMapping"/> class.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:System.IdentityModel.Tokens.Jwt.ClaimTypeMapping.InboundClaimTypeMap">
|
||||
<summary>
|
||||
Gets the InboundClaimTypeMap used by JwtSecurityTokenHandler when producing claims from jwt.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:System.IdentityModel.Tokens.Jwt.ClaimTypeMapping.OutboundClaimTypeMap">
|
||||
<summary>
|
||||
Gets the OutboundClaimTypeMap is used by JwtSecurityTokenHandler to shorten claim types when creating a jwt.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="T:System.IdentityModel.Tokens.Jwt.JsonClaimValueTypes">
|
||||
<summary>
|
||||
Constants for Json Web tokens.
|
||||
Constants that indicate how the <see cref="P:System.Security.Claims.Claim.Value"/> should be evaluated.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:System.IdentityModel.Tokens.Jwt.JsonClaimValueTypes.Json">
|
||||
<summary>
|
||||
A URI that represents the JSON XML data type.
|
||||
A value that indicates the <see cref="P:System.Security.Claims.Claim.Value"/> is a Json object.
|
||||
</summary>
|
||||
<remarks>When mapping json to .Net Claim(s), if the value was not a string (or an enumeration of strings), the ClaimValue will serialized using the current JSON serializer, a property will be added with the .Net type and the ClaimTypeValue will be set to 'JsonClaimValueType'.</remarks>
|
||||
<remarks>When creating a <see cref="T:System.Security.Claims.Claim"/> from Json if the value was not a simple type {String, Null, True, False, Number}
|
||||
then <see cref="P:System.Security.Claims.Claim.Value"/> will contain the Json value. If the Json was a JsonObject, the <see cref="P:System.Security.Claims.Claim.ValueType"/> will be set to "JSON".</remarks>
|
||||
</member>
|
||||
<member name="F:System.IdentityModel.Tokens.Jwt.JsonClaimValueTypes.JsonArray">
|
||||
<summary>
|
||||
A URI that represents the JSON array XML data type.
|
||||
A value that indicates the <see cref="P:System.Security.Claims.Claim.Value"/> is a Json object.
|
||||
</summary>
|
||||
<remarks>When mapping json to .Net Claim(s), if the value was not a string (or an enumeration of strings), the ClaimValue will serialized using the current JSON serializer, a property will be added with the .Net type and the ClaimTypeValue will be set to 'JsonClaimValueType'.</remarks>
|
||||
<remarks>When creating a <see cref="T:System.Security.Claims.Claim"/> from Json if the value was not a simple type {String, Null, True, False, Number}
|
||||
then <see cref="P:System.Security.Claims.Claim.Value"/> will contain the Json value. If the Json was a JsonArray, the <see cref="P:System.Security.Claims.Claim.ValueType"/> will be set to "JSON_ARRAY".</remarks>
|
||||
</member>
|
||||
<member name="F:System.IdentityModel.Tokens.Jwt.JsonClaimValueTypes.JsonNull">
|
||||
<summary>
|
||||
A URI that represents the JSON null data type
|
||||
A value that indicates the <see cref="P:System.Security.Claims.Claim.Value"/> is Json null.
|
||||
</summary>
|
||||
<remarks>When mapping json to .Net Claim(s), we use empty string to represent the claim value and set the ClaimValueType to JsonNull</remarks>
|
||||
</member>
|
||||
<member name="T:System.IdentityModel.Tokens.Jwt.Serializer">
|
||||
<summary>
|
||||
Delegate that can be set on <see cref="P:System.IdentityModel.Tokens.Jwt.JsonExtensions.Serializer"/> to control serialization of objects into JSON.
|
||||
</summary>
|
||||
<param name="obj">Object to serialize</param>
|
||||
<returns>The serialized object.</returns>
|
||||
</member>
|
||||
<member name="T:System.IdentityModel.Tokens.Jwt.Deserializer">
|
||||
<summary>
|
||||
Delegate that can be set on <see cref="P:System.IdentityModel.Tokens.Jwt.JsonExtensions.Deserializer"/> to control deserialization JSON into objects.
|
||||
</summary>
|
||||
<param name="obj">JSON to deserialize.</param>
|
||||
<param name="targetType">Type expected.</param>
|
||||
<returns>The deserialized object.</returns>
|
||||
</member>
|
||||
<member name="T:System.IdentityModel.Tokens.Jwt.JsonExtensions">
|
||||
<summary>
|
||||
Dictionary extensions for serializations
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:System.IdentityModel.Tokens.Jwt.JsonExtensions.Serializer">
|
||||
<summary>
|
||||
Gets or sets a <see cref="P:System.IdentityModel.Tokens.Jwt.JsonExtensions.Serializer"/> to use when serializing objects to JSON.
|
||||
</summary>
|
||||
<exception cref="T:System.ArgumentNullException">If 'value' is null.</exception>
|
||||
</member>
|
||||
<member name="P:System.IdentityModel.Tokens.Jwt.JsonExtensions.Deserializer">
|
||||
<summary>
|
||||
Gets or sets a <see cref="P:System.IdentityModel.Tokens.Jwt.JsonExtensions.Deserializer"/> to use when deserializing objects from JSON.
|
||||
</summary>
|
||||
<exception cref="T:System.ArgumentNullException">If 'value' is null.</exception>
|
||||
</member>
|
||||
<member name="M:System.IdentityModel.Tokens.Jwt.JsonExtensions.SerializeToJson(System.Object)">
|
||||
<summary>
|
||||
Serializes an object to JSON.
|
||||
</summary>
|
||||
<param name="value">The object to serialize</param>
|
||||
<returns>The object as JSON.</returns>
|
||||
</member>
|
||||
<member name="M:System.IdentityModel.Tokens.Jwt.JsonExtensions.DeserializeFromJson``1(System.String)">
|
||||
<summary>
|
||||
Deserialzes JSON into an instance of type T.
|
||||
</summary>
|
||||
<typeparam name="T">The object type.</typeparam>
|
||||
<param name="jsonString">The JSON to deserialze.</param>
|
||||
<returns>A new instance of type T.</returns>
|
||||
</member>
|
||||
<member name="M:System.IdentityModel.Tokens.Jwt.JsonExtensions.DeserializeJwtHeader(System.String)">
|
||||
<summary>
|
||||
Deserialzes JSON into an instance of <see cref="T:System.IdentityModel.Tokens.Jwt.JwtHeader"/>.
|
||||
</summary>
|
||||
<param name="jsonString">The JSON to deserialze.</param>
|
||||
<returns>A new instance <see cref="T:System.IdentityModel.Tokens.Jwt.JwtHeader"/>.</returns>
|
||||
</member>
|
||||
<member name="M:System.IdentityModel.Tokens.Jwt.JsonExtensions.DeserializeJwtPayload(System.String)">
|
||||
<summary>
|
||||
Deserialzes JSON into an instance of <see cref="T:System.IdentityModel.Tokens.Jwt.JwtPayload"/>.
|
||||
</summary>
|
||||
<param name="jsonString">The JSON to deserialze.</param>
|
||||
<returns>A new instance <see cref="T:System.IdentityModel.Tokens.Jwt.JwtPayload"/>.</returns>
|
||||
<remarks>When creating a <see cref="T:System.Security.Claims.Claim"/> the <see cref="P:System.Security.Claims.Claim.Value"/> cannot be null. If the Json value was null, then the <see cref="P:System.Security.Claims.Claim.Value"/>
|
||||
will be set to <see cref="F:System.String.Empty"/> and the <see cref="P:System.Security.Claims.Claim.ValueType"/> will be set to "JSON_NULL".</remarks>
|
||||
</member>
|
||||
<member name="T:System.IdentityModel.Tokens.Jwt.JwtConstants">
|
||||
<summary>
|
||||
@@ -165,7 +87,7 @@
|
||||
</member>
|
||||
<member name="T:System.IdentityModel.Tokens.Jwt.JwtHeader">
|
||||
<summary>
|
||||
Initializes a new instance of <see cref="T:System.IdentityModel.Tokens.Jwt.JwtHeader"/> which contains JSON objects representing the cryptographic operations applied to the JWT and optionally any additional properties of the JWT.
|
||||
Initializes a new instance of <see cref="T:System.IdentityModel.Tokens.Jwt.JwtHeader"/> which contains JSON objects representing the cryptographic operations applied to the JWT and optionally any additional properties of the JWT.
|
||||
The member names within the JWT Header are referred to as Header Parameter Names.
|
||||
<para>These names MUST be unique and the values must be <see cref="T:System.String"/>(s). The corresponding values are referred to as Header Parameter Values.</para>
|
||||
</summary>
|
||||
@@ -175,6 +97,11 @@
|
||||
Initializes a new instance of the <see cref="T:System.IdentityModel.Tokens.Jwt.JwtHeader"/> class. Default string comparer <see cref="P:System.StringComparer.Ordinal"/>.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:System.IdentityModel.Tokens.Jwt.JwtHeader.#ctor(System.String)">
|
||||
<summary>
|
||||
Initializes a new instance of the <see cref="T:System.IdentityModel.Tokens.Jwt.JwtHeader"/> class. Default string comparer <see cref="P:System.StringComparer.Ordinal"/>.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:System.IdentityModel.Tokens.Jwt.JwtHeader.#ctor(Microsoft.IdentityModel.Tokens.SigningCredentials)">
|
||||
<summary>
|
||||
Initializes a new instance of <see cref="T:System.IdentityModel.Tokens.Jwt.JwtHeader"/>.
|
||||
@@ -211,12 +138,23 @@
|
||||
<param name="outboundAlgorithmMap">provides a mapping for the 'alg' value so that values are within the JWT namespace.</param>
|
||||
<param name="tokenType"> will be added as the value for the 'typ' claim in the header. If it is null or empty <see cref="F:System.IdentityModel.Tokens.Jwt.JwtConstants.HeaderType"/> will be used as token type</param>
|
||||
</member>
|
||||
<member name="M:System.IdentityModel.Tokens.Jwt.JwtHeader.#ctor(Microsoft.IdentityModel.Tokens.EncryptingCredentials,System.Collections.Generic.IDictionary{System.String,System.String})">
|
||||
<member name="M:System.IdentityModel.Tokens.Jwt.JwtHeader.#ctor(Microsoft.IdentityModel.Tokens.SigningCredentials,System.Collections.Generic.IDictionary{System.String,System.String},System.String,System.Collections.Generic.IDictionary{System.String,System.Object})">
|
||||
<summary>
|
||||
Initializes a new instance of <see cref="T:System.IdentityModel.Tokens.Jwt.JwtHeader"/>.
|
||||
With the Header Parameters:
|
||||
<para>{ { typ, JWT }, { alg, SigningCredentials.Algorithm } }</para>
|
||||
</summary>
|
||||
<param name="signingCredentials"><see cref="P:System.IdentityModel.Tokens.Jwt.JwtHeader.SigningCredentials"/> used when creating a JWS Compact JSON.</param>
|
||||
<param name="outboundAlgorithmMap">provides a mapping for the 'alg' value so that values are within the JWT namespace.</param>
|
||||
<param name="tokenType"> will be added as the value for the 'typ' claim in the header. If it is null or empty <see cref="F:System.IdentityModel.Tokens.Jwt.JwtConstants.HeaderType"/> will be used as token type</param>
|
||||
<param name="additionalInnerHeaderClaims">Defines the dictionary containing any custom header claims that need to be added to the inner JWT token header.</param>
|
||||
</member>
|
||||
<member name="M:System.IdentityModel.Tokens.Jwt.JwtHeader.#ctor(Microsoft.IdentityModel.Tokens.EncryptingCredentials,System.Collections.Generic.IDictionary{System.String,System.String})">
|
||||
<summary>
|
||||
Initializes a new instance of <see cref="T:System.IdentityModel.Tokens.Jwt.JwtHeader"/>.
|
||||
With the Header Parameters:
|
||||
<para>{ { typ, JWT }, { alg, EncryptingCredentials.Algorithm } }</para>
|
||||
</summary>
|
||||
<param name="encryptingCredentials"><see cref="P:System.IdentityModel.Tokens.Jwt.JwtHeader.EncryptingCredentials"/> used when creating a JWS Compact JSON.</param>
|
||||
<param name="outboundAlgorithmMap">provides a mapping for the 'alg' value so that values are within the JWT namespace.</param>
|
||||
<exception cref="T:System.ArgumentNullException">If 'encryptingCredentials' is null.</exception>
|
||||
@@ -225,13 +163,25 @@
|
||||
<summary>
|
||||
Initializes a new instance of <see cref="T:System.IdentityModel.Tokens.Jwt.JwtHeader"/>.
|
||||
With the Header Parameters:
|
||||
<para>{ { typ, JWT }, { alg, SigningCredentials.Algorithm } }</para>
|
||||
<para>{ { typ, JWT }, { alg, EncryptingCredentials.Algorithm } }</para>
|
||||
</summary>
|
||||
<param name="encryptingCredentials"><see cref="P:System.IdentityModel.Tokens.Jwt.JwtHeader.EncryptingCredentials"/> used when creating a JWS Compact JSON.</param>
|
||||
<param name="outboundAlgorithmMap">provides a mapping for the 'alg' value so that values are within the JWT namespace.</param>
|
||||
<param name="tokenType"> provides the token type</param>
|
||||
<exception cref="T:System.ArgumentNullException">If 'encryptingCredentials' is null.</exception>
|
||||
</member>
|
||||
<member name="M:System.IdentityModel.Tokens.Jwt.JwtHeader.#ctor(Microsoft.IdentityModel.Tokens.EncryptingCredentials,System.Collections.Generic.IDictionary{System.String,System.String},System.String,System.Collections.Generic.IDictionary{System.String,System.Object})">
|
||||
<summary>
|
||||
Initializes a new instance of <see cref="T:System.IdentityModel.Tokens.Jwt.JwtHeader"/>.
|
||||
With the Header Parameters:
|
||||
<para>{ { typ, JWT }, { alg, EncryptingCredentials.Algorithm } }</para>
|
||||
</summary>
|
||||
<param name="encryptingCredentials"><see cref="P:System.IdentityModel.Tokens.Jwt.JwtHeader.EncryptingCredentials"/> used when creating a JWS Compact JSON.</param>
|
||||
<param name="outboundAlgorithmMap">provides a mapping for the 'alg' value so that values are within the JWT namespace.</param>
|
||||
<param name="tokenType"> provides the token type</param>
|
||||
<param name="additionalHeaderClaims">Defines the dictionary containing any custom header claims that need to be added to the outer JWT token header.</param>
|
||||
<exception cref="T:System.ArgumentNullException">If 'encryptingCredentials' is null.</exception>
|
||||
</member>
|
||||
<member name="P:System.IdentityModel.Tokens.Jwt.JwtHeader.Alg">
|
||||
<summary>
|
||||
Gets the signature algorithm that was used to create the signature.
|
||||
@@ -287,13 +237,13 @@
|
||||
<summary>
|
||||
Gets the certificate used to sign the token
|
||||
</summary>
|
||||
<remarks>If the 'x5c' claim is not found, null is returned.</remarks>
|
||||
<remarks>If the 'x5c' claim is not found, null is returned.</remarks>
|
||||
</member>
|
||||
<member name="P:System.IdentityModel.Tokens.Jwt.JwtHeader.Zip">
|
||||
<summary>
|
||||
Gets the 'value' of the 'zip' claim { zip, 'value' }.
|
||||
</summary>
|
||||
<remarks>If the 'zip' claim is not found, null is returned.</remarks>
|
||||
<remarks>If the 'zip' claim is not found, null is returned.</remarks>
|
||||
</member>
|
||||
<member name="M:System.IdentityModel.Tokens.Jwt.JwtHeader.Base64UrlDeserialize(System.String)">
|
||||
<summary>
|
||||
@@ -301,22 +251,12 @@
|
||||
</summary>
|
||||
<param name="base64UrlEncodedJsonString">Base64url encoded JSON to deserialize.</param>
|
||||
<returns>An instance of <see cref="T:System.IdentityModel.Tokens.Jwt.JwtHeader"/>.</returns>
|
||||
<remarks>Use <see cref="P:System.IdentityModel.Tokens.Jwt.JsonExtensions.Deserializer"/> to customize JSON serialization.</remarks>
|
||||
</member>
|
||||
<member name="M:System.IdentityModel.Tokens.Jwt.JwtHeader.Base64UrlEncode">
|
||||
<summary>
|
||||
Encodes this instance as Base64UrlEncoded JSON.
|
||||
</summary>
|
||||
<returns>Base64UrlEncoded JSON.</returns>
|
||||
<remarks>Use <see cref="P:System.IdentityModel.Tokens.Jwt.JsonExtensions.Serializer"/> to customize JSON serialization.</remarks>
|
||||
</member>
|
||||
<member name="M:System.IdentityModel.Tokens.Jwt.JwtHeader.Deserialize(System.String)">
|
||||
<summary>
|
||||
Deserialzes JSON into a <see cref="T:System.IdentityModel.Tokens.Jwt.JwtHeader"/> instance.
|
||||
</summary>
|
||||
<param name="jsonString"> The JSON to deserialize.</param>
|
||||
<returns>An instance of <see cref="T:System.IdentityModel.Tokens.Jwt.JwtHeader"/>.</returns>
|
||||
<remarks>Use <see cref="P:System.IdentityModel.Tokens.Jwt.JsonExtensions.Deserializer"/> to customize JSON serialization.</remarks>
|
||||
</member>
|
||||
<member name="M:System.IdentityModel.Tokens.Jwt.JwtHeader.GetStandardClaim(System.String)">
|
||||
<summary>
|
||||
@@ -331,73 +271,87 @@
|
||||
Serializes this instance to JSON.
|
||||
</summary>
|
||||
<returns>This instance as JSON.</returns>
|
||||
<remarks>Use <see cref="P:System.IdentityModel.Tokens.Jwt.JsonExtensions.Serializer"/> to customize JSON serialization.</remarks>
|
||||
</member>
|
||||
<member name="T:System.IdentityModel.Tokens.Jwt.JwtHeaderParameterNames">
|
||||
<summary>
|
||||
List of header parameter names see: http://tools.ietf.org/html/rfc7519#section-5.
|
||||
List of header parameter names see: https://datatracker.ietf.org/doc/html/rfc7519#section-5.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:System.IdentityModel.Tokens.Jwt.JwtHeaderParameterNames.Alg">
|
||||
<summary>
|
||||
see:https://tools.ietf.org/html/rfc7515#section-4.1.1
|
||||
See: https://datatracker.ietf.org/doc/html/rfc7515#section-4.1.1
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:System.IdentityModel.Tokens.Jwt.JwtHeaderParameterNames.Cty">
|
||||
<summary>
|
||||
see:https://tools.ietf.org/html/rfc7515#section-4.1.10
|
||||
also:https://tools.ietf.org/html/rfc7519#section-5.2
|
||||
See: https://datatracker.ietf.org/doc/html/rfc7515#section-4.1.10
|
||||
Also: https://datatracker.ietf.org/doc/html/rfc7519#section-5.2
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:System.IdentityModel.Tokens.Jwt.JwtHeaderParameterNames.Enc">
|
||||
<summary>
|
||||
see:https://tools.ietf.org/html/rfc7516#section-4.1.2
|
||||
See: https://datatracker.ietf.org/doc/html/rfc7516#section-4.1.2
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:System.IdentityModel.Tokens.Jwt.JwtHeaderParameterNames.IV">
|
||||
<summary>
|
||||
see:https://tools.ietf.org/html/rfc7518#section-4.7.1.1
|
||||
See: https://datatracker.ietf.org/doc/html/rfc7518#section-4.7.1.1
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:System.IdentityModel.Tokens.Jwt.JwtHeaderParameterNames.Jku">
|
||||
<summary>
|
||||
see:https://tools.ietf.org/html/rfc7515#section-4.1.2
|
||||
See: https://datatracker.ietf.org/doc/html/rfc7515#section-4.1.2
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:System.IdentityModel.Tokens.Jwt.JwtHeaderParameterNames.Jwk">
|
||||
<summary>
|
||||
see:https://tools.ietf.org/html/rfc7515#section-4.1.3
|
||||
See: https://datatracker.ietf.org/doc/html/rfc7515#section-4.1.3
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:System.IdentityModel.Tokens.Jwt.JwtHeaderParameterNames.Kid">
|
||||
<summary>
|
||||
see:https://tools.ietf.org/html/rfc7515#section-4.1.4
|
||||
See: https://datatracker.ietf.org/doc/html/rfc7515#section-4.1.4
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:System.IdentityModel.Tokens.Jwt.JwtHeaderParameterNames.Typ">
|
||||
<summary>
|
||||
see:https://tools.ietf.org/html/rfc7515#section-4.1.9
|
||||
also:https://tools.ietf.org/html/rfc7519#section-5.1
|
||||
See: https://datatracker.ietf.org/doc/html/rfc7515#section-4.1.9
|
||||
Also: https://datatracker.ietf.org/doc/html/rfc7519#section-5.1
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:System.IdentityModel.Tokens.Jwt.JwtHeaderParameterNames.X5c">
|
||||
<summary>
|
||||
see:https://tools.ietf.org/html/rfc7515#section-4.1.6
|
||||
See: https://datatracker.ietf.org/doc/html/rfc7515#section-4.1.6
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:System.IdentityModel.Tokens.Jwt.JwtHeaderParameterNames.X5t">
|
||||
<summary>
|
||||
see:https://tools.ietf.org/html/rfc7515#page-12
|
||||
See: https://datatracker.ietf.org/doc/html/rfc7515#page-12
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:System.IdentityModel.Tokens.Jwt.JwtHeaderParameterNames.X5u">
|
||||
<summary>
|
||||
see:https://tools.ietf.org/html/rfc7515#section-4.1.5
|
||||
See: https://datatracker.ietf.org/doc/html/rfc7515#section-4.1.5
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:System.IdentityModel.Tokens.Jwt.JwtHeaderParameterNames.Zip">
|
||||
<summary>
|
||||
see:https://tools.ietf.org/html/rfc7516#section-4.1.3
|
||||
See: https://datatracker.ietf.org/doc/html/rfc7516#section-4.1.3
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:System.IdentityModel.Tokens.Jwt.JwtHeaderParameterNames.Epk">
|
||||
<summary>
|
||||
See: https://datatracker.ietf.org/doc/html/rfc7518#section-4.6.1.1
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:System.IdentityModel.Tokens.Jwt.JwtHeaderParameterNames.Apu">
|
||||
<summary>
|
||||
See: https://datatracker.ietf.org/doc/html/rfc7518#section-4.6.1.2
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:System.IdentityModel.Tokens.Jwt.JwtHeaderParameterNames.Apv">
|
||||
<summary>
|
||||
See: https://datatracker.ietf.org/doc/html/rfc7518#section-4.6.1.3
|
||||
</summary>
|
||||
</member>
|
||||
<member name="T:System.IdentityModel.Tokens.Jwt.JwtPayload">
|
||||
@@ -441,28 +395,62 @@
|
||||
<para>The 4 parameters: 'issuer', 'audience', 'notBefore', 'expires' take precedence over <see cref="T:System.Security.Claims.Claim"/>(s) in 'claims'. The values will be overridden.</para></remarks>
|
||||
<exception cref="T:System.ArgumentException">If 'expires' <= 'notbefore'.</exception>
|
||||
</member>
|
||||
<member name="M:System.IdentityModel.Tokens.Jwt.JwtPayload.#ctor(System.String,System.String,System.Collections.Generic.IEnumerable{System.Security.Claims.Claim},System.Collections.Generic.IDictionary{System.String,System.Object},System.Nullable{System.DateTime},System.Nullable{System.DateTime},System.Nullable{System.DateTime})">
|
||||
<member name="M:System.IdentityModel.Tokens.Jwt.JwtPayload.#ctor(System.String,System.Collections.Generic.IList{System.String},System.Collections.Generic.IEnumerable{System.Security.Claims.Claim},System.Collections.Generic.IDictionary{System.String,System.Object},System.Nullable{System.DateTime},System.Nullable{System.DateTime},System.Nullable{System.DateTime})">
|
||||
<summary>
|
||||
Initializes a new instance of the <see cref="T:System.IdentityModel.Tokens.Jwt.JwtPayload"/> class with claims added for each parameter specified. Default string comparer <see cref="P:System.StringComparer.Ordinal"/>.
|
||||
</summary>
|
||||
<param name="issuer">If this value is not null, a { iss, 'issuer' } claim will be added, overwriting any 'iss' claim in 'claims' and 'claimCollection' if present.</param>
|
||||
<param name="audience">If this value is not null, a { aud, 'audience' } claim will be added, appending to any 'aud' claims in 'claims' or 'claimCollection' if present.</param>
|
||||
<param name="issuer">If this value is not null, an { iss, 'issuer' } claim will be added, overwriting any 'iss' claim in 'claims' and 'claimCollection' if present.</param>
|
||||
<param name="audiences">If this value is not null, all non-null non-whitespace strings in it will be added to an { aud, 'audience' }, appending to any 'aud' claims in 'claims' or 'claimCollection' if present. </param>
|
||||
<param name="claims">If this value is not null then for each <see cref="T:System.Security.Claims.Claim"/> a { 'Claim.Type', 'Claim.Value' } is added. If duplicate claims are found then a { 'Claim.Type', List<object> } will be created to contain the duplicate values.</param>
|
||||
<param name="claimsCollection">If both <paramref name="claims"/> and <paramref name="claimsCollection"/> are not null then the values in claims will be combined with the values in claimsCollection. The values found in claimCollection take precedence over those found in claims, so any duplicate
|
||||
values will be overridden.</param>
|
||||
<param name="notBefore">If notbefore.HasValue a { nbf, 'value' } claim is added, overwriting any 'nbf' claim in 'claims' and 'claimcollection' if present.</param>
|
||||
<param name="expires">If expires.HasValue a { exp, 'value' } claim is added, overwriting any 'exp' claim in 'claims' and 'claimcollection' if present.</param>
|
||||
<param name="issuedAt">If issuedAt.HasValue is 'true' a { iat, 'value' } claim is added, overwriting any 'iat' claim in 'claims' and 'claimcollection' if present.</param>
|
||||
<param name="notBefore">If notbefore.HasValue an { nbf, 'value' } claim is added, overwriting any 'nbf' claim in 'claims' and 'claimcollection' if present.</param>
|
||||
<param name="expires">If expires.HasValue an { exp, 'value' } claim is added, overwriting any 'exp' claim in 'claims' and 'claimcollection' if present.</param>
|
||||
<param name="issuedAt">If issuedAt.HasValue is 'true' an { iat, 'value' } claim is added, overwriting any 'iat' claim in 'claims' and 'claimcollection' if present.</param>
|
||||
<remarks>Comparison is set to <see cref="P:System.StringComparer.Ordinal"/>
|
||||
<para>The 4 parameters: 'issuer', 'audience', 'notBefore', 'expires' take precedence over <see cref="T:System.Security.Claims.Claim"/>(s) in 'claims' and 'claimcollection'. The values will be overridden.</para></remarks>
|
||||
<exception cref="T:System.ArgumentException">If 'expires' <= 'notbefore'.</exception>
|
||||
</member>
|
||||
<member name="M:System.IdentityModel.Tokens.Jwt.JwtPayload.AddFirstPriorityClaims(System.String,System.String,System.Nullable{System.DateTime},System.Nullable{System.DateTime},System.Nullable{System.DateTime})">
|
||||
<member name="M:System.IdentityModel.Tokens.Jwt.JwtPayload.#ctor(System.String,System.String,System.Collections.Generic.IList{System.String},System.Collections.Generic.IEnumerable{System.Security.Claims.Claim},System.Collections.Generic.IDictionary{System.String,System.Object},System.Nullable{System.DateTime},System.Nullable{System.DateTime},System.Nullable{System.DateTime})">
|
||||
<summary>
|
||||
Initializes a new instance of the <see cref="T:System.IdentityModel.Tokens.Jwt.JwtPayload"/> class with claims added for each parameter specified. Default string comparer <see cref="P:System.StringComparer.Ordinal"/>.
|
||||
</summary>
|
||||
<param name="issuer">If this value is not null, an { iss, 'issuer' } claim will be added, overwriting any 'iss' claim in 'claims' and 'claimCollection' if present.</param>
|
||||
<param name="audience">If this value is not null, an { aud, 'audience' } claim will be added, appending to any 'aud' claims in 'claims' or 'claimCollection' if present.</param>
|
||||
<param name="audiences">If this value is not null, all non-null non-whitespace strings in it will be added to an { aud, 'audience' }, appending to any 'aud' claims in 'claims' or 'claimCollection' if present. </param>
|
||||
<param name="claims">If this value is not null then for each <see cref="T:System.Security.Claims.Claim"/> a { 'Claim.Type', 'Claim.Value' } is added. If duplicate claims are found then a { 'Claim.Type', List<object> } will be created to contain the duplicate values.</param>
|
||||
<param name="claimsCollection">If both <paramref name="claims"/> and <paramref name="claimsCollection"/> are not null then the values in claims will be combined with the values in claimsCollection. The values found in claimCollection take precedence over those found in claims, so any duplicate
|
||||
values will be overridden.</param>
|
||||
<param name="notBefore">If notbefore.HasValue an { nbf, 'value' } claim is added, overwriting any 'nbf' claim in 'claims' and 'claimcollection' if present.</param>
|
||||
<param name="expires">If expires.HasValue an { exp, 'value' } claim is added, overwriting any 'exp' claim in 'claims' and 'claimcollection' if present.</param>
|
||||
<param name="issuedAt">If issuedAt.HasValue is 'true' an { iat, 'value' } claim is added, overwriting any 'iat' claim in 'claims' and 'claimcollection' if present.</param>
|
||||
<remarks>Comparison is set to <see cref="P:System.StringComparer.Ordinal"/>
|
||||
<para>The 4 parameters: 'issuer', 'audience', 'notBefore', 'expires' take precedence over <see cref="T:System.Security.Claims.Claim"/>(s) in 'claims' and 'claimcollection'. The values will be overridden.</para></remarks>
|
||||
<exception cref="T:System.ArgumentException">If 'expires' <= 'notbefore'.</exception>
|
||||
</member>
|
||||
<member name="M:System.IdentityModel.Tokens.Jwt.JwtPayload.#ctor(System.String,System.String,System.Collections.Generic.IEnumerable{System.Security.Claims.Claim},System.Collections.Generic.IDictionary{System.String,System.Object},System.Nullable{System.DateTime},System.Nullable{System.DateTime},System.Nullable{System.DateTime})">
|
||||
<summary>
|
||||
Initializes a new instance of the <see cref="T:System.IdentityModel.Tokens.Jwt.JwtPayload"/> class with claims added for each parameter specified. Default string comparer <see cref="P:System.StringComparer.Ordinal"/>.
|
||||
</summary>
|
||||
<param name="issuer">If this value is not null, an { iss, 'issuer' } claim will be added, overwriting any 'iss' claim in 'claims' and 'claimCollection' if present.</param>
|
||||
<param name="audience">If this value is not null, an { aud, 'audience' } claim will be added, appending to any 'aud' claims in 'claims' or 'claimCollection' if present.</param>
|
||||
<param name="claims">If this value is not null then for each <see cref="T:System.Security.Claims.Claim"/> a { 'Claim.Type', 'Claim.Value' } is added. If duplicate claims are found then a { 'Claim.Type', List<object> } will be created to contain the duplicate values.</param>
|
||||
<param name="claimsCollection">If both <paramref name="claims"/> and <paramref name="claimsCollection"/> are not null then the values in claims will be combined with the values in claimsCollection. The values found in claimCollection take precedence over those found in claims, so any duplicate
|
||||
values will be overridden.</param>
|
||||
<param name="notBefore">If notbefore.HasValue an { nbf, 'value' } claim is added, overwriting any 'nbf' claim in 'claims' and 'claimcollection' if present.</param>
|
||||
<param name="expires">If expires.HasValue an { exp, 'value' } claim is added, overwriting any 'exp' claim in 'claims' and 'claimcollection' if present.</param>
|
||||
<param name="issuedAt">If issuedAt.HasValue is 'true' an { iat, 'value' } claim is added, overwriting any 'iat' claim in 'claims' and 'claimcollection' if present.</param>
|
||||
<remarks>Comparison is set to <see cref="P:System.StringComparer.Ordinal"/>
|
||||
<para>The 4 parameters: 'issuer', 'audience', 'notBefore', 'expires' take precedence over <see cref="T:System.Security.Claims.Claim"/>(s) in 'claims' and 'claimcollection'. The values will be overridden.</para></remarks>
|
||||
<exception cref="T:System.ArgumentException">If 'expires' <= 'notbefore'.</exception>
|
||||
</member>
|
||||
<member name="M:System.IdentityModel.Tokens.Jwt.JwtPayload.AddFirstPriorityClaims(System.String,System.String,System.Collections.Generic.IList{System.String},System.Nullable{System.DateTime},System.Nullable{System.DateTime},System.Nullable{System.DateTime})">
|
||||
<summary>
|
||||
Adds Nbf, Exp, Iat, Iss and Aud claims to payload
|
||||
</summary>
|
||||
<param name="issuer">If this value is not null, a { iss, 'issuer' } claim will be added, overwriting any 'iss' claim in <see cref="T:System.IdentityModel.Tokens.Jwt.JwtPayload"/> instance.</param>
|
||||
<param name="audience">If this value is not null, a { aud, 'audience' } claim will be added, appending to any 'aud' claims in <see cref="T:System.IdentityModel.Tokens.Jwt.JwtPayload"/> instance.</param>
|
||||
<param name="audiences">If there are strings that are not null or empty append them to any other Aud claims</param>
|
||||
<param name="notBefore">If notbefore.HasValue a { nbf, 'value' } claim is added, overwriting any 'nbf' claim in <see cref="T:System.IdentityModel.Tokens.Jwt.JwtPayload"/> instance.</param>
|
||||
<param name="expires">If expires.HasValue a { exp, 'value' } claim is added, overwriting any 'exp' claim in <see cref="T:System.IdentityModel.Tokens.Jwt.JwtPayload"/> instance.</param>
|
||||
<param name="issuedAt">If issuedAt.HasValue is 'true' a { iat, 'value' } claim is added, overwriting any 'iat' claim in <see cref="T:System.IdentityModel.Tokens.Jwt.JwtPayload"/> instance.</param>
|
||||
@@ -515,6 +503,12 @@
|
||||
</summary>
|
||||
<remarks>If the 'expiration' claim is not found OR could not be converted to <see cref="T:System.Int32"/>, null is returned.</remarks>
|
||||
</member>
|
||||
<member name="P:System.IdentityModel.Tokens.Jwt.JwtPayload.Expiration">
|
||||
<summary>
|
||||
Gets the 'value' of the 'expiration' claim { exp, 'value' }.
|
||||
</summary>
|
||||
<remarks>If the 'expiration' claim is not found OR could not be converted to <see cref="T:System.Int64"/>, null is returned.</remarks>
|
||||
</member>
|
||||
<member name="P:System.IdentityModel.Tokens.Jwt.JwtPayload.Jti">
|
||||
<summary>
|
||||
Gets the 'value' of the 'JWT ID' claim { jti, 'value' }.
|
||||
@@ -545,6 +539,12 @@
|
||||
</summary>
|
||||
<remarks>If the 'nonce' claim is not found, null is returned.</remarks>
|
||||
</member>
|
||||
<member name="P:System.IdentityModel.Tokens.Jwt.JwtPayload.NotBefore">
|
||||
<summary>
|
||||
Gets the 'value' of the 'notebefore' claim { nbf, 'value' }.
|
||||
</summary>
|
||||
<remarks>If the 'notbefore' claim is not found OR could not be converted to <see cref="T:System.Int64"/>, null is returned.</remarks>
|
||||
</member>
|
||||
<member name="P:System.IdentityModel.Tokens.Jwt.JwtPayload.Sub">
|
||||
<summary>
|
||||
Gets the 'value' of the 'subject' claim { sub, 'value' }.
|
||||
@@ -598,39 +598,26 @@
|
||||
Adds claims from dictionary.
|
||||
</summary>
|
||||
<param name="claimsCollection"> A dictionary of claims.</param>
|
||||
<remark> If a key is already present in target dictionary, its value is overridden by the value of the key in claimsCollection.</remark>
|
||||
</member>
|
||||
<member name="M:System.IdentityModel.Tokens.Jwt.JwtPayload.GetDateTime(System.String)">
|
||||
<summary>
|
||||
Gets the DateTime using the number of seconds from 1970-01-01T0:0:0Z (UTC)
|
||||
</summary>
|
||||
<param name="key">Claim in the payload that should map to an integer.</param>
|
||||
<remarks>If the claim is not found, the function returns: DateTime.MinValue
|
||||
</remarks>
|
||||
<exception cref="T:Microsoft.IdentityModel.Tokens.SecurityTokenException">If an overflow exception is thrown by the runtime.</exception>
|
||||
<returns>The DateTime representation of a claim.</returns>
|
||||
<remark> If a key is already present in target dictionary, its claimValue is overridden by the claimValue of the key in claimsCollection.</remark>
|
||||
</member>
|
||||
<member name="M:System.IdentityModel.Tokens.Jwt.JwtPayload.SerializeToJson">
|
||||
<summary>
|
||||
Serializes this instance to JSON.
|
||||
</summary>
|
||||
<returns>This instance as JSON.</returns>
|
||||
<remarks>Use <see cref="P:System.IdentityModel.Tokens.Jwt.JsonExtensions.Serializer"/> to customize JSON serialization.</remarks>
|
||||
</member>
|
||||
<member name="M:System.IdentityModel.Tokens.Jwt.JwtPayload.Base64UrlDeserialize(System.String)">
|
||||
<summary>
|
||||
Deserializes Base64UrlEncoded JSON into a <see cref="T:System.IdentityModel.Tokens.Jwt.JwtPayload"/>.
|
||||
</summary>
|
||||
<param name="base64UrlEncodedJsonString">Base64url encoded JSON to deserialize.</param>
|
||||
<returns>An instance of <see cref="T:System.IdentityModel.Tokens.Jwt.JwtPayload"/>.</returns>
|
||||
</member>
|
||||
<member name="M:System.IdentityModel.Tokens.Jwt.JwtPayload.Base64UrlEncode">
|
||||
<summary>
|
||||
Encodes this instance as Base64UrlEncoded JSON.
|
||||
</summary>
|
||||
<returns>Base64UrlEncoded JSON.</returns>
|
||||
<remarks>Use <see cref="P:System.IdentityModel.Tokens.Jwt.JsonExtensions.Serializer"/> to customize JSON serialization.</remarks>
|
||||
</member>
|
||||
<member name="M:System.IdentityModel.Tokens.Jwt.JwtPayload.Base64UrlDeserialize(System.String)">
|
||||
<summary>
|
||||
Deserializes Base64UrlEncoded JSON into a <see cref="T:System.IdentityModel.Tokens.Jwt.JwtPayload"/> instance.
|
||||
</summary>
|
||||
<param name="base64UrlEncodedJsonString">base64url encoded JSON to deserialize.</param>
|
||||
<returns>An instance of <see cref="T:System.IdentityModel.Tokens.Jwt.JwtPayload"/>.</returns>
|
||||
<remarks>Use <see cref="P:System.IdentityModel.Tokens.Jwt.JsonExtensions.Deserializer"/> to customize JSON serialization.</remarks>
|
||||
</member>
|
||||
<member name="M:System.IdentityModel.Tokens.Jwt.JwtPayload.Deserialize(System.String)">
|
||||
<summary>
|
||||
@@ -638,13 +625,13 @@
|
||||
</summary>
|
||||
<param name="jsonString">The JSON to deserialize.</param>
|
||||
<returns>An instance of <see cref="T:System.IdentityModel.Tokens.Jwt.JwtPayload"/>.</returns>
|
||||
<remarks>Use <see cref="P:System.IdentityModel.Tokens.Jwt.JsonExtensions.Deserializer"/> to customize JSON serialization.</remarks>
|
||||
</member>
|
||||
<member name="T:System.IdentityModel.Tokens.Jwt.JwtRegisteredClaimNames">
|
||||
<summary>
|
||||
List of registered claims from different sources
|
||||
http://tools.ietf.org/html/rfc7519#section-4
|
||||
https://datatracker.ietf.org/doc/html/rfc7519#section-4
|
||||
http://openid.net/specs/openid-connect-core-1_0.html#IDToken
|
||||
https://openid.net/specs/openid-connect-core-1_0.html#StandardClaims
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:System.IdentityModel.Tokens.Jwt.JwtRegisteredClaimNames.Actort">
|
||||
@@ -656,14 +643,29 @@
|
||||
http://openid.net/specs/openid-connect-core-1_0.html#IDToken
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:System.IdentityModel.Tokens.Jwt.JwtRegisteredClaimNames.Alg">
|
||||
<summary>
|
||||
https://datatracker.ietf.org/doc/html/rfc7519#section-4
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:System.IdentityModel.Tokens.Jwt.JwtRegisteredClaimNames.Amr">
|
||||
<summary>
|
||||
http://openid.net/specs/openid-connect-core-1_0.html#IDToken
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:System.IdentityModel.Tokens.Jwt.JwtRegisteredClaimNames.Address">
|
||||
<summary>
|
||||
https://openid.net/specs/openid-connect-core-1_0.html#StandardClaims
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:System.IdentityModel.Tokens.Jwt.JwtRegisteredClaimNames.AtHash">
|
||||
<summary>
|
||||
http://openid.net/specs/openid-connect-core-1_0.html#CodeIDToken
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:System.IdentityModel.Tokens.Jwt.JwtRegisteredClaimNames.Aud">
|
||||
<summary>
|
||||
http://tools.ietf.org/html/rfc7519#section-4
|
||||
https://datatracker.ietf.org/doc/html/rfc7519#section-4
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:System.IdentityModel.Tokens.Jwt.JwtRegisteredClaimNames.AuthTime">
|
||||
@@ -686,19 +688,19 @@
|
||||
https://openid.net/specs/openid-connect-core-1_0.html#HybridIDToken
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:System.IdentityModel.Tokens.Jwt.JwtRegisteredClaimNames.AtHash">
|
||||
<member name="F:System.IdentityModel.Tokens.Jwt.JwtRegisteredClaimNames.Email">
|
||||
<summary>
|
||||
http://openid.net/specs/openid-connect-core-1_0.html#CodeIDToken
|
||||
https://openid.net/specs/openid-connect-core-1_0.html#StandardClaims
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:System.IdentityModel.Tokens.Jwt.JwtRegisteredClaimNames.Email">
|
||||
<member name="F:System.IdentityModel.Tokens.Jwt.JwtRegisteredClaimNames.EmailVerified">
|
||||
<summary>
|
||||
https://openid.net/specs/openid-connect-core-1_0.html#StandardClaims
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:System.IdentityModel.Tokens.Jwt.JwtRegisteredClaimNames.Exp">
|
||||
<summary>
|
||||
http://tools.ietf.org/html/rfc7519#section-4
|
||||
https://datatracker.ietf.org/doc/html/rfc7519#section-4
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:System.IdentityModel.Tokens.Jwt.JwtRegisteredClaimNames.Gender">
|
||||
@@ -718,17 +720,27 @@
|
||||
</member>
|
||||
<member name="F:System.IdentityModel.Tokens.Jwt.JwtRegisteredClaimNames.Iat">
|
||||
<summary>
|
||||
http://tools.ietf.org/html/rfc7519#section-4
|
||||
https://datatracker.ietf.org/doc/html/rfc7519#section-4
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:System.IdentityModel.Tokens.Jwt.JwtRegisteredClaimNames.Iss">
|
||||
<summary>
|
||||
http://tools.ietf.org/html/rfc7519#section-4
|
||||
https://datatracker.ietf.org/doc/html/rfc7519#section-4
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:System.IdentityModel.Tokens.Jwt.JwtRegisteredClaimNames.Jti">
|
||||
<summary>
|
||||
http://tools.ietf.org/html/rfc7519#section-4
|
||||
https://datatracker.ietf.org/doc/html/rfc7519#section-4
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:System.IdentityModel.Tokens.Jwt.JwtRegisteredClaimNames.Locale">
|
||||
<summary>
|
||||
https://openid.net/specs/openid-connect-core-1_0.html#StandardClaims
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:System.IdentityModel.Tokens.Jwt.JwtRegisteredClaimNames.MiddleName">
|
||||
<summary>
|
||||
https://openid.net/specs/openid-connect-core-1_0.html#StandardClaims
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:System.IdentityModel.Tokens.Jwt.JwtRegisteredClaimNames.Name">
|
||||
@@ -740,6 +752,11 @@
|
||||
<summary>
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:System.IdentityModel.Tokens.Jwt.JwtRegisteredClaimNames.Nickname">
|
||||
<summary>
|
||||
https://openid.net/specs/openid-connect-core-1_0.html#StandardClaims
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:System.IdentityModel.Tokens.Jwt.JwtRegisteredClaimNames.Nonce">
|
||||
<summary>
|
||||
https://openid.net/specs/openid-connect-core-1_0.html#AuthRequest
|
||||
@@ -747,13 +764,38 @@
|
||||
</member>
|
||||
<member name="F:System.IdentityModel.Tokens.Jwt.JwtRegisteredClaimNames.Nbf">
|
||||
<summary>
|
||||
http://tools.ietf.org/html/rfc7519#section-4
|
||||
https://datatracker.ietf.org/doc/html/rfc7519#section-4
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:System.IdentityModel.Tokens.Jwt.JwtRegisteredClaimNames.PhoneNumber">
|
||||
<summary>
|
||||
https://openid.net/specs/openid-connect-core-1_0.html#StandardClaims
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:System.IdentityModel.Tokens.Jwt.JwtRegisteredClaimNames.PhoneNumberVerified">
|
||||
<summary>
|
||||
https://openid.net/specs/openid-connect-core-1_0.html#StandardClaims
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:System.IdentityModel.Tokens.Jwt.JwtRegisteredClaimNames.Picture">
|
||||
<summary>
|
||||
https://openid.net/specs/openid-connect-core-1_0.html#StandardClaims
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:System.IdentityModel.Tokens.Jwt.JwtRegisteredClaimNames.Prn">
|
||||
<summary>
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:System.IdentityModel.Tokens.Jwt.JwtRegisteredClaimNames.PreferredUsername">
|
||||
<summary>
|
||||
https://openid.net/specs/openid-connect-core-1_0.html#StandardClaims
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:System.IdentityModel.Tokens.Jwt.JwtRegisteredClaimNames.Profile">
|
||||
<summary>
|
||||
https://openid.net/specs/openid-connect-core-1_0.html#StandardClaims
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:System.IdentityModel.Tokens.Jwt.JwtRegisteredClaimNames.Sid">
|
||||
<summary>
|
||||
http://openid.net/specs/openid-connect-frontchannel-1_0.html#OPLogout
|
||||
@@ -761,22 +803,32 @@
|
||||
</member>
|
||||
<member name="F:System.IdentityModel.Tokens.Jwt.JwtRegisteredClaimNames.Sub">
|
||||
<summary>
|
||||
http://tools.ietf.org/html/rfc7519#section-4
|
||||
https://datatracker.ietf.org/doc/html/rfc7519#section-4
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:System.IdentityModel.Tokens.Jwt.JwtRegisteredClaimNames.Typ">
|
||||
<summary>
|
||||
http://tools.ietf.org/html/rfc7519#section-5
|
||||
https://datatracker.ietf.org/doc/html/rfc7519#section-5
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:System.IdentityModel.Tokens.Jwt.JwtRegisteredClaimNames.UniqueName">
|
||||
<summary>
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:System.IdentityModel.Tokens.Jwt.JwtRegisteredClaimNames.UpdatedAt">
|
||||
<summary>
|
||||
https://openid.net/specs/openid-connect-core-1_0.html#StandardClaims
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:System.IdentityModel.Tokens.Jwt.JwtRegisteredClaimNames.Website">
|
||||
<summary>
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:System.IdentityModel.Tokens.Jwt.JwtRegisteredClaimNames.ZoneInfo">
|
||||
<summary>
|
||||
https://openid.net/specs/openid-connect-core-1_0.html#StandardClaims
|
||||
</summary>
|
||||
</member>
|
||||
<member name="T:System.IdentityModel.Tokens.Jwt.JwtSecurityToken">
|
||||
<summary>
|
||||
A <see cref="T:Microsoft.IdentityModel.Tokens.SecurityToken"/> designed for representing a JSON Web Token (JWT).
|
||||
@@ -787,9 +839,10 @@
|
||||
Initializes a new instance of <see cref="T:System.IdentityModel.Tokens.Jwt.JwtSecurityToken"/> from a string in JWS Compact serialized format.
|
||||
</summary>
|
||||
<param name="jwtEncodedString">A JSON Web Token that has been serialized in JWS Compact serialized format.</param>
|
||||
<exception cref="T:System.ArgumentNullException">'jwtEncodedString' is null.</exception>
|
||||
<exception cref="T:System.ArgumentException">'jwtEncodedString' contains only whitespace.</exception>
|
||||
<exception cref="T:System.ArgumentException">'jwtEncodedString' is not in JWS Compact serialized format.</exception>
|
||||
<exception cref="T:System.ArgumentNullException">'jwtEncodedString' is null or contains only whitespace.</exception>
|
||||
<exception cref="T:Microsoft.IdentityModel.Tokens.SecurityTokenMalformedException">'jwtEncodedString' contains only whitespace.</exception>
|
||||
<exception cref="T:Microsoft.IdentityModel.Tokens.SecurityTokenMalformedException">'jwtEncodedString' is not in JWE format.</exception>
|
||||
<exception cref="T:Microsoft.IdentityModel.Tokens.SecurityTokenMalformedException">'jwtEncodedString' is not in JWS or JWE format.</exception>
|
||||
<remarks>
|
||||
The contents of this <see cref="T:System.IdentityModel.Tokens.Jwt.JwtSecurityToken"/> have not been validated, the JSON Web Token is simply decoded. Validation can be accomplished using <see cref="M:System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.ValidateToken(System.String,Microsoft.IdentityModel.Tokens.TokenValidationParameters,Microsoft.IdentityModel.Tokens.SecurityToken@)"/>
|
||||
</remarks>
|
||||
@@ -885,7 +938,7 @@
|
||||
</member>
|
||||
<member name="P:System.IdentityModel.Tokens.Jwt.JwtSecurityToken.Id">
|
||||
<summary>
|
||||
Gets the 'value' of the 'JWT ID' claim { jti, ''value' }.
|
||||
Gets the 'value' of the 'JWT ID' claim { jti, 'value' }.
|
||||
</summary>
|
||||
<remarks>If the 'JWT ID' claim is not found, an empty string is returned.</remarks>
|
||||
</member>
|
||||
@@ -1021,6 +1074,9 @@
|
||||
</summary>
|
||||
<returns>A string containing the header and payload in JSON format.</returns>
|
||||
</member>
|
||||
<member name="M:System.IdentityModel.Tokens.Jwt.JwtSecurityToken.UnsafeToString">
|
||||
<inheritdoc/>
|
||||
</member>
|
||||
<member name="M:System.IdentityModel.Tokens.Jwt.JwtSecurityToken.Decode(System.String[],System.String)">
|
||||
<summary>
|
||||
Decodes the string into the header, payload and signature.
|
||||
@@ -1028,12 +1084,11 @@
|
||||
<param name="tokenParts">the tokenized string.</param>
|
||||
<param name="rawData">the original token.</param>
|
||||
</member>
|
||||
<member name="M:System.IdentityModel.Tokens.Jwt.JwtSecurityToken.DecodeJws(System.String[])">
|
||||
<member name="M:System.IdentityModel.Tokens.Jwt.JwtSecurityToken.DecodeJws(System.String)">
|
||||
<summary>
|
||||
Decodes the payload and signature from the JWS parts.
|
||||
Decodes the base64url encoded payload.
|
||||
</summary>
|
||||
<param name="tokenParts">Parts of the JWS including the header.</param>
|
||||
<remarks>Assumes Header has already been set.</remarks>
|
||||
<param name="payload">the encoded payload.</param>
|
||||
</member>
|
||||
<member name="M:System.IdentityModel.Tokens.Jwt.JwtSecurityToken.DecodeJwe(System.String[])">
|
||||
<summary>
|
||||
@@ -1042,9 +1097,22 @@
|
||||
<param name="tokenParts">Parts of the JWE including the header.</param>
|
||||
<remarks>Assumes Header has already been set.</remarks>
|
||||
</member>
|
||||
<member name="T:System.IdentityModel.Tokens.Jwt.JwtSecurityTokenConverter">
|
||||
<summary>
|
||||
Static class to convert a <see cref="T:Microsoft.IdentityModel.JsonWebTokens.JsonWebToken"/> to a <see cref="T:System.IdentityModel.Tokens.Jwt.JwtSecurityToken"/>
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:System.IdentityModel.Tokens.Jwt.JwtSecurityTokenConverter.Convert(Microsoft.IdentityModel.JsonWebTokens.JsonWebToken)">
|
||||
<summary>
|
||||
Initializes a new instance of a <see cref="T:System.IdentityModel.Tokens.Jwt.JwtSecurityToken"/> from a <see cref="T:Microsoft.IdentityModel.JsonWebTokens.JsonWebToken"/>
|
||||
</summary>
|
||||
<param name="token">A JSON Web Token to convert from.</param>
|
||||
<exception cref="T:System.ArgumentNullException"><paramref name="token"/> is null</exception>
|
||||
<exception cref="T:System.ArgumentException"><paramref name="token"/> doesn't have <see cref="P:Microsoft.IdentityModel.JsonWebTokens.JsonWebToken.EncodedToken"/> set.</exception>
|
||||
</member>
|
||||
<member name="T:System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler">
|
||||
<summary>
|
||||
A <see cref="T:Microsoft.IdentityModel.Tokens.SecurityTokenHandler"/> designed for creating and validating Json Web Tokens. See: http://tools.ietf.org/html/rfc7519 and http://www.rfc-editor.org/info/rfc7515
|
||||
A <see cref="T:Microsoft.IdentityModel.Tokens.SecurityTokenHandler"/> designed for creating and validating Json Web Tokens. See: https://datatracker.ietf.org/doc/html/rfc7519 and http://www.rfc-editor.org/info/rfc7515
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.DefaultInboundClaimTypeMap">
|
||||
@@ -1084,14 +1152,14 @@
|
||||
</member>
|
||||
<member name="P:System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.MapInboundClaims">
|
||||
<summary>
|
||||
Gets or sets the <see cref="P:System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.MapInboundClaims"/> property which is used when determining whether or not to map claim types that are extracted when validating a <see cref="T:System.IdentityModel.Tokens.Jwt.JwtSecurityToken"/>.
|
||||
Gets or sets the <see cref="P:System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.MapInboundClaims"/> property which is used when determining whether or not to map claim types that are extracted when validating a <see cref="T:System.IdentityModel.Tokens.Jwt.JwtSecurityToken"/>.
|
||||
<para>If this is set to true, the <see cref="P:System.Security.Claims.Claim.Type"/> is set to the JSON claim 'name' after translating using this mapping. Otherwise, no mapping occurs.</para>
|
||||
<para>The default value is true.</para>
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.InboundClaimTypeMap">
|
||||
<summary>
|
||||
Gets or sets the <see cref="P:System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.InboundClaimTypeMap"/> which is used when setting the <see cref="P:System.Security.Claims.Claim.Type"/> for claims in the <see cref="T:System.Security.Claims.ClaimsPrincipal"/> extracted when validating a <see cref="T:System.IdentityModel.Tokens.Jwt.JwtSecurityToken"/>.
|
||||
Gets or sets the <see cref="P:System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.InboundClaimTypeMap"/> which is used when setting the <see cref="P:System.Security.Claims.Claim.Type"/> for claims in the <see cref="T:System.Security.Claims.ClaimsPrincipal"/> extracted when validating a <see cref="T:System.IdentityModel.Tokens.Jwt.JwtSecurityToken"/>.
|
||||
<para>The <see cref="P:System.Security.Claims.Claim.Type"/> is set to the JSON claim 'name' after translating using this mapping.</para>
|
||||
<para>The default value is ClaimTypeMapping.InboundClaimTypeMap.</para>
|
||||
</summary>
|
||||
@@ -1127,7 +1195,7 @@
|
||||
</member>
|
||||
<member name="P:System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.JsonClaimTypeProperty">
|
||||
<summary>
|
||||
Gets or sets the property name of <see cref="P:System.Security.Claims.Claim.Properties"/> the will contain .Net type that was recognized when JwtPayload.Claims serialized the value to JSON.
|
||||
Gets or sets the property name of <see cref="P:System.Security.Claims.Claim.Properties"/> the will contain .Net type that was recognized when <see cref="P:System.IdentityModel.Tokens.Jwt.JwtPayload.Claims"/> serialized the value to JSON.
|
||||
<para>See <seealso cref="P:System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.InboundClaimTypeMap"/> for more information.</para>
|
||||
</summary>
|
||||
<exception cref="T:System.ArgumentException">If <see cref="T:System.String"/>.IsNullOrWhiteSpace('value') is true.</exception>
|
||||
@@ -1153,7 +1221,7 @@
|
||||
<member name="M:System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.CanReadToken(System.String)">
|
||||
<summary>
|
||||
Determines if the string is a well formed Json Web Token (JWT).
|
||||
<para>see: http://tools.ietf.org/html/rfc7519 </para>
|
||||
<para>See: https://datatracker.ietf.org/doc/html/rfc7519 </para>
|
||||
</summary>
|
||||
<param name="token">String that should represent a valid JWT.</param>
|
||||
<remarks>Uses <see cref="M:System.Text.RegularExpressions.Regex.IsMatch(System.String,System.String)"/> matching one of:
|
||||
@@ -1266,7 +1334,7 @@
|
||||
<para><see cref="M:Microsoft.IdentityModel.Tokens.EncryptingCredentials.#ctor(Microsoft.IdentityModel.Tokens.SecurityKey,System.String,System.String)"/> is used to encrypt <see cref="P:System.IdentityModel.Tokens.Jwt.JwtSecurityToken.RawData"/> or <see cref="P:System.IdentityModel.Tokens.Jwt.JwtSecurityToken.RawPayload"/> .</para>
|
||||
</remarks>
|
||||
<returns>A <see cref="T:System.IdentityModel.Tokens.Jwt.JwtSecurityToken"/>.</returns>
|
||||
<exception cref="T:System.ArgumentException">If 'expires' <= 'notBefore'.</exception>
|
||||
<exception cref="T:System.ArgumentException">If <paramref name="expires"/> <= <paramref name="notBefore"/>.</exception>
|
||||
</member>
|
||||
<member name="M:System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.CreateJwtSecurityToken(System.String,System.String,System.Security.Claims.ClaimsIdentity,System.Nullable{System.DateTime},System.Nullable{System.DateTime},System.Nullable{System.DateTime},Microsoft.IdentityModel.Tokens.SigningCredentials,Microsoft.IdentityModel.Tokens.EncryptingCredentials,System.Collections.Generic.IDictionary{System.String,System.Object})">
|
||||
<summary>
|
||||
@@ -1290,7 +1358,7 @@
|
||||
<para><see cref="M:Microsoft.IdentityModel.Tokens.EncryptingCredentials.#ctor(Microsoft.IdentityModel.Tokens.SecurityKey,System.String,System.String)"/> is used to encrypt <see cref="P:System.IdentityModel.Tokens.Jwt.JwtSecurityToken.RawData"/> or <see cref="P:System.IdentityModel.Tokens.Jwt.JwtSecurityToken.RawPayload"/> .</para>
|
||||
</remarks>
|
||||
<returns>A <see cref="T:System.IdentityModel.Tokens.Jwt.JwtSecurityToken"/>.</returns>
|
||||
<exception cref="T:System.ArgumentException">If 'expires' <= 'notBefore'.</exception>
|
||||
<exception cref="T:System.ArgumentException">If <paramref name="expires"/> <= <paramref name="notBefore"/>.</exception>
|
||||
</member>
|
||||
<member name="M:System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.CreateJwtSecurityToken(System.String,System.String,System.Security.Claims.ClaimsIdentity,System.Nullable{System.DateTime},System.Nullable{System.DateTime},System.Nullable{System.DateTime},Microsoft.IdentityModel.Tokens.SigningCredentials)">
|
||||
<summary>
|
||||
@@ -1311,7 +1379,7 @@
|
||||
<para><see cref="M:Microsoft.IdentityModel.Tokens.SigningCredentials.#ctor(Microsoft.IdentityModel.Tokens.SecurityKey,System.String)"/> is used to sign <see cref="P:System.IdentityModel.Tokens.Jwt.JwtSecurityToken.RawData"/>.</para>
|
||||
</remarks>
|
||||
<returns>A <see cref="T:System.IdentityModel.Tokens.Jwt.JwtSecurityToken"/>.</returns>
|
||||
<exception cref="T:System.ArgumentException">If 'expires' <= 'notBefore'.</exception>
|
||||
<exception cref="T:System.ArgumentException">If <paramref name="expires"/> <= <paramref name="notBefore"/>.</exception>
|
||||
</member>
|
||||
<member name="M:System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.CreateToken(Microsoft.IdentityModel.Tokens.SecurityTokenDescriptor)">
|
||||
<summary>
|
||||
@@ -1326,11 +1394,13 @@
|
||||
</summary>
|
||||
<param name="token">A 'JSON Web Token' (JWT) in JWS or JWE Compact Serialization Format.</param>
|
||||
<returns>A <see cref="T:System.IdentityModel.Tokens.Jwt.JwtSecurityToken"/></returns>
|
||||
<exception cref="T:System.ArgumentNullException">'token' is null or empty.</exception>
|
||||
<exception cref="T:System.ArgumentNullException"><paramref name="token"/> is null or empty.</exception>
|
||||
<exception cref="T:System.ArgumentException">'token.Length' is greater than <see cref="P:Microsoft.IdentityModel.Tokens.TokenHandler.MaximumTokenSizeInBytes"/>.</exception>
|
||||
<exception cref="T:System.ArgumentException"><see cref="M:System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.CanReadToken(System.String)"/></exception>
|
||||
<remarks><para>If the 'token' is in JWE Compact Serialization format, only the protected header will be deserialized.</para>
|
||||
This method is unable to decrypt the payload. Use <see cref="M:System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.ValidateToken(System.String,Microsoft.IdentityModel.Tokens.TokenValidationParameters,Microsoft.IdentityModel.Tokens.SecurityToken@)"/>to obtain the payload.</remarks>
|
||||
<exception cref="T:Microsoft.IdentityModel.Tokens.SecurityTokenMalformedException"><see cref="M:System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.CanReadToken(System.String)"/></exception>
|
||||
<remarks><para>If the <paramref name="token"/> is in JWE Compact Serialization format, only the protected header will be deserialized.
|
||||
This method is unable to decrypt the payload. Use <see cref="M:System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.ValidateToken(System.String,Microsoft.IdentityModel.Tokens.TokenValidationParameters,Microsoft.IdentityModel.Tokens.SecurityToken@)"/>to obtain the payload.</para>
|
||||
<para>The token is NOT validated and no security decisions should be made about the contents.
|
||||
Use <see cref="M:System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.ValidateTokenAsync(System.String,Microsoft.IdentityModel.Tokens.TokenValidationParameters)"/> to ensure the token is acceptable.</para></remarks>
|
||||
</member>
|
||||
<member name="M:System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.ReadToken(System.String)">
|
||||
<summary>
|
||||
@@ -1338,18 +1408,20 @@
|
||||
</summary>
|
||||
<param name="token">A 'JSON Web Token' (JWT) in JWS or JWE Compact Serialization Format.</param>
|
||||
<returns>A <see cref="T:System.IdentityModel.Tokens.Jwt.JwtSecurityToken"/></returns>
|
||||
<exception cref="T:System.ArgumentNullException">'token' is null or empty.</exception>
|
||||
<exception cref="T:System.ArgumentNullException"><paramref name="token"/> is null or empty.</exception>
|
||||
<exception cref="T:System.ArgumentException">'token.Length' is greater than <see cref="P:Microsoft.IdentityModel.Tokens.TokenHandler.MaximumTokenSizeInBytes"/>.</exception>
|
||||
<exception cref="T:System.ArgumentException"><see cref="M:System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.CanReadToken(System.String)"/></exception>
|
||||
<remarks><para>If the 'token' is in JWE Compact Serialization format, only the protected header will be deserialized.</para>
|
||||
<remarks><para>If the <paramref name="token"/> is in JWE Compact Serialization format, only the protected header will be deserialized.</para>
|
||||
This method is unable to decrypt the payload. Use <see cref="M:System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.ValidateToken(System.String,Microsoft.IdentityModel.Tokens.TokenValidationParameters,Microsoft.IdentityModel.Tokens.SecurityToken@)"/>to obtain the payload.</remarks>
|
||||
<remarks>The token is NOT validated and no security decisions should be made about the contents.
|
||||
<para>Use <see cref="M:System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.ValidateTokenAsync(System.String,Microsoft.IdentityModel.Tokens.TokenValidationParameters)"/> to ensure the token is acceptable.</para></remarks>
|
||||
</member>
|
||||
<member name="M:System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.ReadToken(System.Xml.XmlReader,Microsoft.IdentityModel.Tokens.TokenValidationParameters)">
|
||||
<summary>
|
||||
Deserializes token with the provided <see cref="T:Microsoft.IdentityModel.Tokens.TokenValidationParameters"/>.
|
||||
</summary>
|
||||
<param name="reader"><see cref="T:System.Xml.XmlReader"/>.</param>
|
||||
<param name="validationParameters">The current <see cref="T:Microsoft.IdentityModel.Tokens.TokenValidationParameters"/>.</param>
|
||||
<param name="validationParameters">The <see cref="T:Microsoft.IdentityModel.Tokens.TokenValidationParameters"/> to be used for validating the token.</param>
|
||||
<returns>The <see cref="T:Microsoft.IdentityModel.Tokens.SecurityToken"/></returns>
|
||||
<remarks>This method is not current supported.</remarks>
|
||||
</member>
|
||||
@@ -1358,13 +1430,13 @@
|
||||
Reads and validates a 'JSON Web Token' (JWT) encoded as a JWS or JWE in Compact Serialized Format.
|
||||
</summary>
|
||||
<param name="token">the JWT encoded as JWE or JWS</param>
|
||||
<param name="validationParameters">Contains validation parameters for the <see cref="T:System.IdentityModel.Tokens.Jwt.JwtSecurityToken"/>.</param>
|
||||
<param name="validationParameters">The <see cref="T:Microsoft.IdentityModel.Tokens.TokenValidationParameters"/> to be used for validating the token.</param>
|
||||
<param name="validatedToken">The <see cref="T:System.IdentityModel.Tokens.Jwt.JwtSecurityToken"/> that was validated.</param>
|
||||
<exception cref="T:System.ArgumentNullException"><paramref name="token"/> is null or whitespace.</exception>
|
||||
<exception cref="T:System.ArgumentNullException"><paramref name="validationParameters"/> is null.</exception>
|
||||
<exception cref="T:System.ArgumentException"><paramref name="token"/>.Length is greater than <see cref="P:Microsoft.IdentityModel.Tokens.TokenHandler.MaximumTokenSizeInBytes"/>.</exception>
|
||||
<exception cref="T:System.ArgumentException"><paramref name="token"/> does not have 3 or 5 parts.</exception>
|
||||
<exception cref="T:System.ArgumentException"><see cref="M:System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.CanReadToken(System.String)"/> returns false.</exception>
|
||||
<exception cref="T:Microsoft.IdentityModel.Tokens.SecurityTokenMalformedException"><paramref name="token"/> does not have 3 or 5 parts.</exception>
|
||||
<exception cref="T:Microsoft.IdentityModel.Tokens.SecurityTokenMalformedException"><see cref="M:System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.CanReadToken(System.String)"/> returns false.</exception>
|
||||
<exception cref="T:Microsoft.IdentityModel.Tokens.SecurityTokenDecryptionFailedException"><paramref name="token"/> was a JWE was not able to be decrypted.</exception>
|
||||
<exception cref="T:Microsoft.IdentityModel.Tokens.SecurityTokenEncryptionKeyNotFoundException"><paramref name="token"/> 'kid' header claim is not null AND decryption fails.</exception>
|
||||
<exception cref="T:Microsoft.IdentityModel.Tokens.SecurityTokenException"><paramref name="token"/> 'enc' header claim is null or empty.</exception>
|
||||
@@ -1379,16 +1451,30 @@
|
||||
<exception cref="T:Microsoft.IdentityModel.Tokens.SecurityTokenReplayAddFailedException"><paramref name="token"/> could not be added to the <see cref="P:Microsoft.IdentityModel.Tokens.TokenValidationParameters.TokenReplayCache"/>.</exception>
|
||||
<exception cref="T:Microsoft.IdentityModel.Tokens.SecurityTokenReplayDetectedException"><paramref name="token"/> is found in the cache.</exception>
|
||||
<returns> A <see cref="T:System.Security.Claims.ClaimsPrincipal"/> from the JWT. Does not include claims found in the JWT header.</returns>
|
||||
<remarks>
|
||||
<remarks>
|
||||
Many of the exceptions listed above are not thrown directly from this method. See <see cref="T:Microsoft.IdentityModel.Tokens.Validators"/> to examine the call graph.
|
||||
</remarks>
|
||||
</member>
|
||||
<member name="M:System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.ValidateToken(System.String,System.IdentityModel.Tokens.Jwt.JwtSecurityToken,Microsoft.IdentityModel.Tokens.TokenValidationParameters,Microsoft.IdentityModel.Tokens.SecurityToken@)">
|
||||
<summary>
|
||||
Private method for token validation, responsible for:
|
||||
(1) Obtaining a configuration from the <see cref="P:Microsoft.IdentityModel.Tokens.TokenValidationParameters.ConfigurationManager"/>.
|
||||
(2) Revalidating using the Last Known Good Configuration (if present), and obtaining a refreshed configuration (if necessary) and revalidating using it.
|
||||
</summary>
|
||||
<param name="token">The JWS string, or the decrypted token if the token is a JWE.</param>
|
||||
<param name="outerToken">If the token being validated is a JWE, this is the <see cref="T:System.IdentityModel.Tokens.Jwt.JwtSecurityToken"/> that represents the outer token.
|
||||
If the token is a JWS, the value of this parameter is <see langword="null" />.
|
||||
</param>
|
||||
<param name="validationParameters">The <see cref="T:Microsoft.IdentityModel.Tokens.TokenValidationParameters"/> to be used for validation.</param>
|
||||
<param name="signatureValidatedToken">The <see cref="T:System.IdentityModel.Tokens.Jwt.JwtSecurityToken"/> that was validated.</param>
|
||||
<returns> A <see cref="T:System.Security.Claims.ClaimsPrincipal"/> from the JWT. Does not include claims found in the JWT header.</returns>
|
||||
</member>
|
||||
<member name="M:System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.ValidateTokenPayload(System.IdentityModel.Tokens.Jwt.JwtSecurityToken,Microsoft.IdentityModel.Tokens.TokenValidationParameters)">
|
||||
<summary>
|
||||
Validates the JSON payload of a <see cref="T:System.IdentityModel.Tokens.Jwt.JwtSecurityToken"/>.
|
||||
</summary>
|
||||
<param name="jwtToken">The token to validate.</param>
|
||||
<param name="validationParameters">Contains validation parameters for the <see cref="T:System.IdentityModel.Tokens.Jwt.JwtSecurityToken"/>.</param>
|
||||
<param name="validationParameters">The <see cref="T:Microsoft.IdentityModel.Tokens.TokenValidationParameters"/> to be used for validating the token.</param>
|
||||
<returns>A <see cref="T:System.Security.Claims.ClaimsPrincipal"/> from the jwt. Does not include the header claims.</returns>
|
||||
</member>
|
||||
<member name="M:System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.WriteToken(Microsoft.IdentityModel.Tokens.SecurityToken)">
|
||||
@@ -1402,7 +1488,7 @@
|
||||
<para>If either <see cref="P:System.IdentityModel.Tokens.Jwt.JwtSecurityToken.SigningCredentials"/> or <see cref="P:System.IdentityModel.Tokens.Jwt.JwtSecurityToken.InnerToken"/>.SigningCredentials are set, the JWT will be signed.</para>
|
||||
<para>If <see cref="P:System.IdentityModel.Tokens.Jwt.JwtSecurityToken.EncryptingCredentials"/> is set, a JWE will be created using the JWT above as the plaintext.</para>
|
||||
</remarks>
|
||||
<exception cref="T:System.ArgumentNullException">'token' is null.</exception>
|
||||
<exception cref="T:System.ArgumentNullException"><paramref name="token"/> is null.</exception>
|
||||
<exception cref="T:System.ArgumentException">'token' is not a not <see cref="T:System.IdentityModel.Tokens.Jwt.JwtSecurityToken"/>.</exception>
|
||||
<exception cref="T:Microsoft.IdentityModel.Tokens.SecurityTokenEncryptionFailedException">both <see cref="P:System.IdentityModel.Tokens.Jwt.JwtSecurityToken.SigningCredentials"/> and <see cref="P:System.IdentityModel.Tokens.Jwt.JwtSecurityToken.InnerToken"/> are set.</exception>
|
||||
<exception cref="T:Microsoft.IdentityModel.Tokens.SecurityTokenEncryptionFailedException">both <see cref="P:System.IdentityModel.Tokens.Jwt.JwtSecurityToken.InnerToken"/> and <see cref="P:System.IdentityModel.Tokens.Jwt.JwtSecurityToken.InnerToken"/>.EncryptingCredentials are set.</exception>
|
||||
@@ -1426,22 +1512,18 @@
|
||||
Validates that the signature, if found or required, is valid.
|
||||
</summary>
|
||||
<param name="token">A JWS token.</param>
|
||||
<param name="validationParameters"><see cref="T:Microsoft.IdentityModel.Tokens.TokenValidationParameters"/> that contains signing keys.</param>
|
||||
<exception cref="T:System.ArgumentNullException">If 'jwt' is null or whitespace.</exception>
|
||||
<exception cref="T:System.ArgumentNullException">If 'validationParameters' is null.</exception>
|
||||
<param name="validationParameters">The <see cref="T:Microsoft.IdentityModel.Tokens.TokenValidationParameters"/> to be used for validating the token.</param>
|
||||
<exception cref="T:System.ArgumentNullException">If <paramref name="token"/> is null or whitespace.</exception>
|
||||
<exception cref="T:System.ArgumentNullException">If <paramref name="validationParameters"/> is null.</exception>
|
||||
<exception cref="T:Microsoft.IdentityModel.Tokens.SecurityTokenValidationException">If a signature is not found and <see cref="P:Microsoft.IdentityModel.Tokens.TokenValidationParameters.RequireSignedTokens"/> is true.</exception>
|
||||
<exception cref="T:Microsoft.IdentityModel.Tokens.SecurityTokenSignatureKeyNotFoundException">
|
||||
If the 'token' has a key identifier and none of the <see cref="T:Microsoft.IdentityModel.Tokens.SecurityKey"/>(s) provided result in a validated signature.
|
||||
If the <paramref name="token"/> has a key identifier and none of the <see cref="T:Microsoft.IdentityModel.Tokens.SecurityKey"/>(s) provided result in a validated signature.
|
||||
This can indicate that a key refresh is required.
|
||||
</exception>
|
||||
<exception cref="T:Microsoft.IdentityModel.Tokens.SecurityTokenUnableToValidateException">
|
||||
If the 'token' has a key identifier and none of the <see cref="T:Microsoft.IdentityModel.Tokens.SecurityKey"/>(s) provided result in a validated signature as well as the token
|
||||
had validation errors or lifetime or issuer. This is not intended to be a signal to refresh keys.
|
||||
</exception>
|
||||
<exception cref="T:Microsoft.IdentityModel.Tokens.SecurityTokenInvalidSignatureException">If after trying all the <see cref="T:Microsoft.IdentityModel.Tokens.SecurityKey"/>(s), none result in a validated signature AND the 'token' does not have a key identifier.</exception>
|
||||
<exception cref="T:Microsoft.IdentityModel.Tokens.SecurityTokenInvalidSignatureException">If after trying all the <see cref="T:Microsoft.IdentityModel.Tokens.SecurityKey"/>(s), none result in a validated signature AND the <paramref name="token"/> does not have a key identifier.</exception>
|
||||
<returns>A <see cref="T:System.IdentityModel.Tokens.Jwt.JwtSecurityToken"/> that has the signature validated if token was signed.</returns>
|
||||
<remarks><para>If the 'token' is signed, the signature is validated even if <see cref="P:Microsoft.IdentityModel.Tokens.TokenValidationParameters.RequireSignedTokens"/> is false.</para>
|
||||
<para>If the 'token' signature is validated, then the <see cref="P:System.IdentityModel.Tokens.Jwt.JwtSecurityToken.SigningKey"/> will be set to the key that signed the 'token'.It is the responsibility of <see cref="P:Microsoft.IdentityModel.Tokens.TokenValidationParameters.SignatureValidator"/> to set the <see cref="P:System.IdentityModel.Tokens.Jwt.JwtSecurityToken.SigningKey"/></para></remarks>
|
||||
<remarks><para>If the <paramref name="token"/> is signed, the signature is validated even if <see cref="P:Microsoft.IdentityModel.Tokens.TokenValidationParameters.RequireSignedTokens"/> is false.</para>
|
||||
<para>If the <paramref name="token"/> signature is validated, then the <see cref="P:System.IdentityModel.Tokens.Jwt.JwtSecurityToken.SigningKey"/> will be set to the key that signed the 'token'.It is the responsibility of <see cref="P:Microsoft.IdentityModel.Tokens.TokenValidationParameters.SignatureValidator"/> to set the <see cref="P:System.IdentityModel.Tokens.Jwt.JwtSecurityToken.SigningKey"/></para></remarks>
|
||||
</member>
|
||||
<member name="M:System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.CreateClaimsIdentity(System.IdentityModel.Tokens.Jwt.JwtSecurityToken,System.String,Microsoft.IdentityModel.Tokens.TokenValidationParameters)">
|
||||
<summary>
|
||||
@@ -1449,7 +1531,7 @@
|
||||
</summary>
|
||||
<param name="jwtToken">The <see cref="T:System.IdentityModel.Tokens.Jwt.JwtSecurityToken"/> to use as a <see cref="T:System.Security.Claims.Claim"/> source.</param>
|
||||
<param name="issuer">The value to set <see cref="P:System.Security.Claims.Claim.Issuer"/></param>
|
||||
<param name="validationParameters"> Contains parameters for validating the token.</param>
|
||||
<param name="validationParameters">The <see cref="T:Microsoft.IdentityModel.Tokens.TokenValidationParameters"/> to be used for validating the token.</param>
|
||||
<returns>A <see cref="T:System.Security.Claims.ClaimsIdentity"/> containing the <see cref="P:System.IdentityModel.Tokens.Jwt.JwtSecurityToken.Claims"/>.</returns>
|
||||
</member>
|
||||
<member name="M:System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.CreateActorValue(System.Security.Claims.ClaimsIdentity)">
|
||||
@@ -1461,8 +1543,8 @@
|
||||
<remarks>If <see cref="P:System.Security.Claims.ClaimsIdentity.BootstrapContext"/> is not null:
|
||||
<para>  If 'type' is 'string', return as string.</para>
|
||||
<para>  if 'type' is 'BootstrapContext' and 'BootstrapContext.SecurityToken' is 'JwtSecurityToken'</para>
|
||||
<para>    if 'JwtSecurityToken.RawData' != null, return RawData.</para>
|
||||
<para>    else return <see cref="M:System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.WriteToken(Microsoft.IdentityModel.Tokens.SecurityToken)"/>.</para>
|
||||
<para>    if 'JwtSecurityToken.RawData' != null, return RawData.</para>
|
||||
<para>    else return <see cref="M:System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.WriteToken(Microsoft.IdentityModel.Tokens.SecurityToken)"/>.</para>
|
||||
<para>  if 'BootstrapContext.Token' != null, return 'Token'.</para>
|
||||
<para>default: <see cref="M:System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.WriteToken(Microsoft.IdentityModel.Tokens.SecurityToken)"/> new ( <see cref="T:System.IdentityModel.Tokens.Jwt.JwtSecurityToken"/>( actor.Claims ).</para>
|
||||
</remarks>
|
||||
@@ -1474,7 +1556,7 @@
|
||||
</summary>
|
||||
<param name="audiences">The audiences found in the <see cref="T:System.IdentityModel.Tokens.Jwt.JwtSecurityToken"/>.</param>
|
||||
<param name="jwtToken">The <see cref="T:System.IdentityModel.Tokens.Jwt.JwtSecurityToken"/> being validated.</param>
|
||||
<param name="validationParameters"><see cref="T:Microsoft.IdentityModel.Tokens.TokenValidationParameters"/> required for validation.</param>
|
||||
<param name="validationParameters">The <see cref="T:Microsoft.IdentityModel.Tokens.TokenValidationParameters"/> to be used for validating the token.</param>
|
||||
<remarks>See <see cref="M:Microsoft.IdentityModel.Tokens.Validators.ValidateAudience(System.Collections.Generic.IEnumerable{System.String},Microsoft.IdentityModel.Tokens.SecurityToken,Microsoft.IdentityModel.Tokens.TokenValidationParameters)"/> for additional details.</remarks>
|
||||
</member>
|
||||
<member name="M:System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.ValidateLifetime(System.Nullable{System.DateTime},System.Nullable{System.DateTime},System.IdentityModel.Tokens.Jwt.JwtSecurityToken,Microsoft.IdentityModel.Tokens.TokenValidationParameters)">
|
||||
@@ -1484,7 +1566,7 @@
|
||||
<param name="notBefore">The <see cref="T:System.DateTime"/> value of the 'nbf' claim if it exists in the 'jwtToken'.</param>
|
||||
<param name="expires">The <see cref="T:System.DateTime"/> value of the 'exp' claim if it exists in the 'jwtToken'.</param>
|
||||
<param name="jwtToken">The <see cref="T:System.IdentityModel.Tokens.Jwt.JwtSecurityToken"/> being validated.</param>
|
||||
<param name="validationParameters"><see cref="T:Microsoft.IdentityModel.Tokens.TokenValidationParameters"/> required for validation.</param>
|
||||
<param name="validationParameters">The <see cref="T:Microsoft.IdentityModel.Tokens.TokenValidationParameters"/> to be used for validating the token.</param>
|
||||
<remarks><see cref="M:Microsoft.IdentityModel.Tokens.Validators.ValidateLifetime(System.Nullable{System.DateTime},System.Nullable{System.DateTime},Microsoft.IdentityModel.Tokens.SecurityToken,Microsoft.IdentityModel.Tokens.TokenValidationParameters)"/> for additional details.</remarks>
|
||||
</member>
|
||||
<member name="M:System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.ValidateIssuer(System.String,System.IdentityModel.Tokens.Jwt.JwtSecurityToken,Microsoft.IdentityModel.Tokens.TokenValidationParameters)">
|
||||
@@ -1493,7 +1575,7 @@
|
||||
</summary>
|
||||
<param name="issuer">The issuer to validate</param>
|
||||
<param name="jwtToken">The <see cref="T:System.IdentityModel.Tokens.Jwt.JwtSecurityToken"/> that is being validated.</param>
|
||||
<param name="validationParameters"><see cref="T:Microsoft.IdentityModel.Tokens.TokenValidationParameters"/> required for validation.</param>
|
||||
<param name="validationParameters">The <see cref="T:Microsoft.IdentityModel.Tokens.TokenValidationParameters"/> to be used for validating the token.</param>
|
||||
<returns>The issuer to use when creating the <see cref="T:System.Security.Claims.Claim"/>(s) in the <see cref="T:System.Security.Claims.ClaimsIdentity"/>.</returns>
|
||||
<remarks><see cref="M:Microsoft.IdentityModel.Tokens.Validators.ValidateIssuer(System.String,Microsoft.IdentityModel.Tokens.SecurityToken,Microsoft.IdentityModel.Tokens.TokenValidationParameters)"/> for additional details.</remarks>
|
||||
</member>
|
||||
@@ -1503,7 +1585,7 @@
|
||||
</summary>
|
||||
<param name="expires">The <see cref="T:System.DateTime"/> value of the 'exp' claim if it exists in the <see cref="T:System.IdentityModel.Tokens.Jwt.JwtSecurityToken"/>'.</param>
|
||||
<param name="securityToken">The <see cref="T:System.IdentityModel.Tokens.Jwt.JwtSecurityToken"/> that is being validated.</param>
|
||||
<param name="validationParameters"><see cref="T:Microsoft.IdentityModel.Tokens.TokenValidationParameters"/> required for validation.</param>
|
||||
<param name="validationParameters">The <see cref="T:Microsoft.IdentityModel.Tokens.TokenValidationParameters"/> to be used for validating the token.</param>
|
||||
</member>
|
||||
<member name="M:System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.ResolveIssuerSigningKey(System.String,System.IdentityModel.Tokens.Jwt.JwtSecurityToken,Microsoft.IdentityModel.Tokens.TokenValidationParameters)">
|
||||
<summary>
|
||||
@@ -1511,7 +1593,7 @@
|
||||
</summary>
|
||||
<param name="token">The <see cref="T:System.String"/> representation of the token that is being validated.</param>
|
||||
<param name="jwtToken">The <see cref="T:System.IdentityModel.Tokens.Jwt.JwtSecurityToken"/> that is being validated.</param>
|
||||
<param name="validationParameters">A <see cref="T:Microsoft.IdentityModel.Tokens.TokenValidationParameters"/> required for validation.</param>
|
||||
<param name="validationParameters">The <see cref="T:Microsoft.IdentityModel.Tokens.TokenValidationParameters"/> to be used for validating the token.</param>
|
||||
<returns>Returns a <see cref="T:Microsoft.IdentityModel.Tokens.SecurityKey"/> to use for signature validation.</returns>
|
||||
<remarks>If key fails to resolve, then null is returned</remarks>
|
||||
</member>
|
||||
@@ -1521,19 +1603,19 @@
|
||||
</summary>
|
||||
<param name="token">The <see cref="T:System.String"/> the token that is being decrypted.</param>
|
||||
<param name="jwtToken">The <see cref="T:System.IdentityModel.Tokens.Jwt.JwtSecurityToken"/> that is being decrypted.</param>
|
||||
<param name="validationParameters">A <see cref="T:Microsoft.IdentityModel.Tokens.TokenValidationParameters"/> required for validation.</param>
|
||||
<param name="validationParameters">The <see cref="T:Microsoft.IdentityModel.Tokens.TokenValidationParameters"/> to be used for validating the token.</param>
|
||||
<returns>Returns a <see cref="T:Microsoft.IdentityModel.Tokens.SecurityKey"/> to use for signature validation.</returns>
|
||||
<remarks>If key fails to resolve, then null is returned</remarks>
|
||||
</member>
|
||||
<member name="M:System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.DecryptToken(System.IdentityModel.Tokens.Jwt.JwtSecurityToken,Microsoft.IdentityModel.Tokens.TokenValidationParameters)">
|
||||
<summary>
|
||||
Decrypts a JWE and returns the clear text
|
||||
Decrypts a JWE and returns the clear text
|
||||
</summary>
|
||||
<param name="jwtToken">the JWE that contains the cypher text.</param>
|
||||
<param name="validationParameters">contains crypto material.</param>
|
||||
<returns>the decoded / cleartext contents of the JWE.</returns>
|
||||
<exception cref="T:System.ArgumentNullException">if 'jwtToken' is null.</exception>
|
||||
<exception cref="T:System.ArgumentNullException">if 'validationParameters' is null.</exception>
|
||||
<exception cref="T:System.ArgumentNullException">if <paramref name="jwtToken"/> is null.</exception>
|
||||
<exception cref="T:System.ArgumentNullException">if <paramref name="validationParameters"/> is null.</exception>
|
||||
<exception cref="T:Microsoft.IdentityModel.Tokens.SecurityTokenException">if 'jwtToken.Header.enc' is null or empty.</exception>
|
||||
<exception cref="T:Microsoft.IdentityModel.Tokens.SecurityTokenEncryptionKeyNotFoundException">if 'jwtToken.Header.kid' is not null AND decryption fails.</exception>
|
||||
<exception cref="T:Microsoft.IdentityModel.Tokens.SecurityTokenDecryptionFailedException">if the JWE was not able to be decrypted.</exception>
|
||||
@@ -1544,7 +1626,7 @@
|
||||
</summary>
|
||||
<param name="key">The <see cref="T:Microsoft.IdentityModel.Tokens.SecurityKey"/> that signed the <see cref="T:Microsoft.IdentityModel.Tokens.SecurityToken"/>.</param>
|
||||
<param name="securityToken">The <see cref="T:System.IdentityModel.Tokens.Jwt.JwtSecurityToken"/> to validate.</param>
|
||||
<param name="validationParameters">The current <see cref="T:Microsoft.IdentityModel.Tokens.TokenValidationParameters"/>.</param>
|
||||
<param name="validationParameters">The <see cref="T:Microsoft.IdentityModel.Tokens.TokenValidationParameters"/> to be used for validating the token.</param>
|
||||
<remarks>If the <see cref="P:System.IdentityModel.Tokens.Jwt.JwtSecurityToken.SigningKey"/> is a <see cref="T:Microsoft.IdentityModel.Tokens.X509SecurityKey"/> then the X509Certificate2 will be validated using the CertificateValidator.</remarks>
|
||||
</member>
|
||||
<member name="M:System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.WriteToken(System.Xml.XmlWriter,Microsoft.IdentityModel.Tokens.SecurityToken)">
|
||||
@@ -1554,6 +1636,9 @@
|
||||
<param name="writer">The XML writer.</param>
|
||||
<param name="token">A token of type <see cref="P:System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.TokenType"/>.</param>
|
||||
</member>
|
||||
<member name="M:System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.ValidateTokenAsync(System.String,Microsoft.IdentityModel.Tokens.TokenValidationParameters)">
|
||||
<inheritdoc/>
|
||||
</member>
|
||||
<member name="T:System.IdentityModel.Tokens.Jwt.LogMessages">
|
||||
<summary>
|
||||
Log messages and codes
|
||||
|
||||
Binary file not shown.
@@ -21,6 +21,13 @@
|
||||
<typeparam name="T">The type of reference.</typeparam>
|
||||
<returns>A new reference that reflects the addition of offset to pointer.</returns>
|
||||
</member>
|
||||
<member name="M:System.Runtime.CompilerServices.Unsafe.Add``1(``0@,System.UIntPtr)">
|
||||
<summary>Adds an element offset to the given reference.</summary>
|
||||
<param name="source">The reference to add the offset to.</param>
|
||||
<param name="elementOffset">The offset to add.</param>
|
||||
<typeparam name="T">The type of reference.</typeparam>
|
||||
<returns>A new reference that reflects the addition of offset to pointer.</returns>
|
||||
</member>
|
||||
<member name="M:System.Runtime.CompilerServices.Unsafe.Add``1(System.Void*,System.Int32)">
|
||||
<summary>Adds an element offset to the given void pointer.</summary>
|
||||
<param name="source">The void pointer to add the offset to.</param>
|
||||
@@ -35,6 +42,13 @@
|
||||
<typeparam name="T">The type of reference.</typeparam>
|
||||
<returns>A new reference that reflects the addition of byte offset to pointer.</returns>
|
||||
</member>
|
||||
<member name="M:System.Runtime.CompilerServices.Unsafe.AddByteOffset``1(``0@,System.UIntPtr)">
|
||||
<summary>Adds a byte offset to the given reference.</summary>
|
||||
<param name="source">The reference to add the offset to.</param>
|
||||
<param name="byteOffset">The offset to add.</param>
|
||||
<typeparam name="T">The type of reference.</typeparam>
|
||||
<returns>A new reference that reflects the addition of byte offset to pointer.</returns>
|
||||
</member>
|
||||
<member name="M:System.Runtime.CompilerServices.Unsafe.AreSame``1(``0@,``0@)">
|
||||
<summary>Determines whether the specified references point to the same location.</summary>
|
||||
<param name="left">The first reference to compare.</param>
|
||||
@@ -158,11 +172,16 @@
|
||||
<see langword="true" /> if <paramref name="left" /> is less than <paramref name="right" />; otherwise, <see langword="false" />.</returns>
|
||||
</member>
|
||||
<member name="M:System.Runtime.CompilerServices.Unsafe.IsNullRef``1(``0@)">
|
||||
<param name="source" />
|
||||
<typeparam name="T" />
|
||||
<summary>Determines if a given reference to a value of type <typeparamref name="T" /> is a null reference.</summary>
|
||||
<param name="source">The reference to check.</param>
|
||||
<typeparam name="T">The type of the reference.</typeparam>
|
||||
<returns>
|
||||
<see langword="true" /> if <paramref name="source" /> is a null reference; otherwise, <see langword="false" />.</returns>
|
||||
</member>
|
||||
<member name="M:System.Runtime.CompilerServices.Unsafe.NullRef``1">
|
||||
<typeparam name="T" />
|
||||
<summary>Returns a reference to a value of type <typeparamref name="T" /> that is a null reference.</summary>
|
||||
<typeparam name="T">The type of the reference.</typeparam>
|
||||
<returns>A reference to a value of type <typeparamref name="T" /> that is a null reference.</returns>
|
||||
</member>
|
||||
<member name="M:System.Runtime.CompilerServices.Unsafe.Read``1(System.Void*)">
|
||||
<summary>Reads a value of type <typeparamref name="T" /> from the given location.</summary>
|
||||
@@ -206,6 +225,13 @@
|
||||
<typeparam name="T">The type of reference.</typeparam>
|
||||
<returns>A new reference that reflects the subtraction of offset from pointer.</returns>
|
||||
</member>
|
||||
<member name="M:System.Runtime.CompilerServices.Unsafe.Subtract``1(``0@,System.UIntPtr)">
|
||||
<summary>Subtracts an element offset from the given reference.</summary>
|
||||
<param name="source">The reference to subtract the offset from.</param>
|
||||
<param name="elementOffset">The offset to subtract.</param>
|
||||
<typeparam name="T">The type of reference.</typeparam>
|
||||
<returns>A new reference that reflects the subraction of offset from pointer.</returns>
|
||||
</member>
|
||||
<member name="M:System.Runtime.CompilerServices.Unsafe.Subtract``1(System.Void*,System.Int32)">
|
||||
<summary>Subtracts an element offset from the given void pointer.</summary>
|
||||
<param name="source">The void pointer to subtract the offset from.</param>
|
||||
@@ -220,6 +246,13 @@
|
||||
<typeparam name="T">The type of reference.</typeparam>
|
||||
<returns>A new reference that reflects the subtraction of byte offset from pointer.</returns>
|
||||
</member>
|
||||
<member name="M:System.Runtime.CompilerServices.Unsafe.SubtractByteOffset``1(``0@,System.UIntPtr)">
|
||||
<summary>Subtracts a byte offset from the given reference.</summary>
|
||||
<param name="source">The reference to subtract the offset from.</param>
|
||||
<param name="byteOffset">The offset to subtract.</param>
|
||||
<typeparam name="T">The type of reference.</typeparam>
|
||||
<returns>A new reference that reflects the subraction of byte offset from pointer.</returns>
|
||||
</member>
|
||||
<member name="M:System.Runtime.CompilerServices.Unsafe.Unbox``1(System.Object)">
|
||||
<summary>Returns a <see langword="mutable ref" /> to a boxed value.</summary>
|
||||
<param name="box">The value to unbox.</param>
|
||||
|
||||
BIN
Bin/System.Security.Cryptography.Xml.dll
Normal file
BIN
Bin/System.Security.Cryptography.Xml.dll
Normal file
Binary file not shown.
BIN
Bin/System.Security.Cryptography.Xml.dll.refresh
Normal file
BIN
Bin/System.Security.Cryptography.Xml.dll.refresh
Normal file
Binary file not shown.
2191
Bin/System.Security.Cryptography.Xml.xml
Normal file
2191
Bin/System.Security.Cryptography.Xml.xml
Normal file
File diff suppressed because it is too large
Load Diff
Binary file not shown.
BIN
Bin/System.Text.Encodings.Web.dll.refresh
Normal file
BIN
Bin/System.Text.Encodings.Web.dll.refresh
Normal file
Binary file not shown.
@@ -307,6 +307,9 @@
|
||||
<summary>Gets the Arabic Extended-A Unicode block (U+08A0-U+08FF).</summary>
|
||||
<returns>The Arabic Extended-A Unicode block (U+08A0-U+08FF).</returns>
|
||||
</member>
|
||||
<member name="P:System.Text.Unicode.UnicodeRanges.ArabicExtendedB">
|
||||
<summary>A <see cref="T:System.Text.Unicode.UnicodeRange" /> corresponding to the 'Arabic Extended-B' Unicode block (U+0870..U+089F).</summary>
|
||||
</member>
|
||||
<member name="P:System.Text.Unicode.UnicodeRanges.ArabicPresentationFormsA">
|
||||
<summary>Gets the Arabic Presentation Forms-A Unicode block (U+FB50-U+FDFF).</summary>
|
||||
<returns>The Arabic Presentation Forms-A Unicode block (U+FB50-U+FDFF).</returns>
|
||||
|
||||
Binary file not shown.
BIN
Bin/System.Text.Json.dll.refresh
Normal file
BIN
Bin/System.Text.Json.dll.refresh
Normal file
Binary file not shown.
File diff suppressed because it is too large
Load Diff
Binary file not shown.
Binary file not shown.
38512
Bin/itextsharp.xml
38512
Bin/itextsharp.xml
File diff suppressed because it is too large
Load Diff
Binary file not shown.
BIN
Bin/log4net.dll
BIN
Bin/log4net.dll
Binary file not shown.
BIN
Bin/log4net.dll.refresh
Normal file
BIN
Bin/log4net.dll.refresh
Normal file
Binary file not shown.
35788
Bin/log4net.xml
35788
Bin/log4net.xml
File diff suppressed because it is too large
Load Diff
@@ -874,7 +874,7 @@
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
<div class="col-md-6" style="min-height:200px">
|
||||
<div class="col-md-6" style="min-height:200px" id="divi">
|
||||
|
||||
<asp:UpdatePanel ID="UPPAnticiposSel" runat="server" UpdateMode="Conditional">
|
||||
<ContentTemplate>
|
||||
@@ -941,7 +941,46 @@
|
||||
<asp:Button runat="server" ID="btnProrateo2" Visible="false" Text="Prorratear Nomina" CommandArgument="Nomina" CssClass="btn btn-success" />
|
||||
<asp:Button runat="server" ID="BtnProrateoDeducible" Visible="false" Text="Prorratear 8.5%" CommandArgument="Prorratear Deducible" CssClass="btn btn-success" />
|
||||
</div>
|
||||
<asp:UpdatePanel ID="UPPMedicosGastos" runat="server" UpdateMode="Conditional" Visible="false">
|
||||
<ContentTemplate>
|
||||
<div class="row">
|
||||
<div class=" col-md-6">
|
||||
<div class="psagregar">
|
||||
<div class="comboxes">
|
||||
<label for="<%= DdlMedico.ClientID.ToString()%>" style="font-size: 13px; color: #888888; opacity: 1; margin-bottom: 0px;">Médico:</label>
|
||||
<asp:Dropdownlist runat="server" ID="DdlMedico" Width="100%"
|
||||
CssStyle="width: 100%;" IncluyeTodos="false" CssClass ="select2me" TabIndex="2"
|
||||
DataTextField="Medico" DataValueField="CveMedico" />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="col-md-1" style="text-align: right!important; padding-top: 15px; padding-left: 0px;">
|
||||
<asp:LinkButton ID="LnkAddMedico" runat="server" CssClass="btn btn-primary smallplus"
|
||||
OnClick="LnkAddMedico_Click"><i class="fa fa-plus"></i></asp:LinkButton>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-md-6">
|
||||
<asp:GridView ID="GvMedicosGastos" DataKeyNames="CveMedico" runat="server"
|
||||
ShowHeader="true" AutoGenerateColumns="False" EmptyDataText="" CssClass="Widthall table table-striped table-hover" GridLines="None">
|
||||
<Columns>
|
||||
<asp:BoundField HeaderText="Médico" DataField="Medico" ItemStyle-Width="500px" />
|
||||
<asp:TemplateField>
|
||||
<ItemTemplate>
|
||||
<asp:LinkButton ID="LnkEliminarMedico" runat="server" CssClass="btn btn-circle btn-xs red" OnClick="LnkEliminarMedico_Click" Text="<i class='icon-trash'></i>" data-toggle="confirmation" data-popout="true" data-original-title="¿Seguro que desea eliminar el médico?" data-btn-ok-label="si"></asp:LinkButton>
|
||||
</ItemTemplate>
|
||||
<ItemStyle Width="30px" HorizontalAlign="Center"></ItemStyle>
|
||||
</asp:TemplateField>
|
||||
</Columns>
|
||||
</asp:GridView>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
</ContentTemplate>
|
||||
</asp:UpdatePanel>
|
||||
|
||||
<asp:UpdatePanel ID="UpDVAtencionOCAnticipo" runat="server" UpdateMode="Conditional">
|
||||
<ContentTemplate>
|
||||
@@ -2098,7 +2137,7 @@
|
||||
|
||||
<asp:UpdatePanel ID="UpTitulosAFInsumos" runat="server" UpdateMode="Conditional">
|
||||
<ContentTemplate>
|
||||
<table border="0" rules="none" class="table table-striped table-hover table-advance Widthall">
|
||||
<%-- <table border="0" rules="none" class="table table-striped table-hover table-advance Widthall">
|
||||
<tr class="Titulos TextTab">
|
||||
<td style="width: 20px">#</td>
|
||||
<td style="width: 60px">Cantidad</td>
|
||||
@@ -2110,7 +2149,7 @@
|
||||
<td style="width: 90px">Mantenimiento</td>
|
||||
<td style="width: 90px">Dividir</td>
|
||||
</tr>
|
||||
</table>
|
||||
</table>--%>
|
||||
</ContentTemplate>
|
||||
</asp:UpdatePanel>
|
||||
|
||||
@@ -2120,27 +2159,36 @@
|
||||
<asp:HiddenField ID="HdnTxtAFMedida" runat="server" />
|
||||
<asp:Button ID="BtnAFMedida" runat="server" Style="display: none;" OnClick="BtnAFMedida_Click" />
|
||||
|
||||
<asp:GridView ID="GvAFInsumos" ClientIDMode="AutoID" runat="server" DataKeyNames="Consec,CveClasificacion" ShowHeader="false" AutoGenerateColumns="False" EmptyDataText="No se encontraron Registros" CssClass="table table-striped table-hover table-advance Widthall gridconheader" RowStyle-VerticalAlign="Middle" RowStyle-HorizontalAlign="Center" GridLines="none">
|
||||
<asp:GridView ID="GvAFInsumos" ClientIDMode="AutoID" runat="server" DataKeyNames="Consec,CveClasificacion" ShowHeader="true" AutoGenerateColumns="False" EmptyDataText="No se encontraron Registros" CssClass="table table-striped table-hover table-advance Widthall gridconheader" RowStyle-VerticalAlign="Middle" RowStyle-HorizontalAlign="Center" GridLines="none">
|
||||
<Columns>
|
||||
<asp:TemplateField>
|
||||
<HeaderTemplate>
|
||||
#
|
||||
</HeaderTemplate>
|
||||
<ItemTemplate>
|
||||
<asp:Label ID="LtlConsecutivo" runat="server" Text='<%# Eval("Consec", "{0:N0}") %>' Font-Size="6pt"></asp:Label></label>
|
||||
|
||||
|
||||
|
||||
<asp:Label ID="LtlConsecutivo" runat="server" Text='<%# Eval("Consec", "{0:N0}") %>' Font-Size="6pt"></asp:Label></label>
|
||||
</ItemTemplate>
|
||||
</asp:TemplateField>
|
||||
<asp:TemplateField>
|
||||
<HeaderTemplate>
|
||||
Cantidad
|
||||
</HeaderTemplate>
|
||||
<ItemTemplate>
|
||||
<asp:Literal ID="LtlCantidad" runat="server" Text='<%# Eval("Cantidad", "{0:#,##0.00##}") %>'></asp:Literal>
|
||||
</ItemTemplate>
|
||||
</asp:TemplateField>
|
||||
<asp:TemplateField>
|
||||
<HeaderTemplate>
|
||||
Unidad
|
||||
</HeaderTemplate>
|
||||
<ItemTemplate>
|
||||
<asp:Literal ID="LtlUnidadMedida" runat="server" Text='<%# Eval("UM") %>'></asp:Literal>
|
||||
</ItemTemplate>
|
||||
</asp:TemplateField>
|
||||
<asp:TemplateField ItemStyle-HorizontalAlign="Left">
|
||||
<HeaderTemplate>
|
||||
Producto
|
||||
</HeaderTemplate>
|
||||
<ItemTemplate>
|
||||
<div class="truncate" style="width: 200px;">
|
||||
<asp:HyperLink Style="display: initial;" ID="HplPS" NavigateUrl='<%# If(CInt(Eval("CvePS").ToString) > 0, String.Format("/Ventas/ProductosServicios.aspx?CvePS={0}&Ret=Comp&Popup=1&TB_iframe=true&height=500&width=950&Ret=Comp", Eval("CvePS")), "")%>' CssClass='<%# If(CInt(Eval("CvePS").ToString) > 0, "Texto thickbox", "") %>' runat="server" Text='<%# Eval("PS") %>'></asp:HyperLink>
|
||||
@@ -2148,6 +2196,9 @@
|
||||
</ItemTemplate>
|
||||
</asp:TemplateField>
|
||||
<asp:TemplateField ItemStyle-HorizontalAlign="Left">
|
||||
<HeaderTemplate>
|
||||
Observación
|
||||
</HeaderTemplate>
|
||||
<ItemTemplate>
|
||||
<div class="truncate" style="width: 200px;">
|
||||
<asp:Literal ID="LtlObservacion" runat="server" Text='<%# Eval("Obs") %>'></asp:Literal>
|
||||
@@ -2155,6 +2206,9 @@
|
||||
</ItemTemplate>
|
||||
</asp:TemplateField>
|
||||
<asp:TemplateField>
|
||||
<HeaderTemplate>
|
||||
Vinculación
|
||||
</HeaderTemplate>
|
||||
<ItemTemplate>
|
||||
<asp:Label runat="server" Visible="false" ID="LbCveAF" Text='<%# Eval("CodAF")%>'></asp:Label>
|
||||
<asp:TextBox ID="LblCodigo" Text='<%# Eval("CodAF")%>' runat="server" Width="80px" Visible="true"></asp:TextBox>
|
||||
@@ -2168,11 +2222,17 @@
|
||||
</ItemTemplate>
|
||||
</asp:TemplateField>
|
||||
<asp:TemplateField ItemStyle-Width="100px">
|
||||
<HeaderTemplate>
|
||||
Horómetro /<br> Odómetro
|
||||
</HeaderTemplate>
|
||||
<ItemTemplate>
|
||||
<asp:TextBox ID="TxtAFMedida" runat="server" Width="60px" Text='<%# Eval("AFMedida")%>'></asp:TextBox>
|
||||
</ItemTemplate>
|
||||
</asp:TemplateField>
|
||||
<asp:TemplateField ItemStyle-Width="100px" ItemStyle-HorizontalAlign="Left">
|
||||
<HeaderTemplate>
|
||||
Mantenimiento
|
||||
</HeaderTemplate>
|
||||
<ItemTemplate>
|
||||
<asp:DropDownList ID="DdlTipoMantemiento" runat="server" CssClass="form-control select2me" Width="100px" AutoPostBack="true" OnSelectedIndexChanged="DdlTipoMantemiento_SelectedIndexChanged">
|
||||
<asp:ListItem Selected="True" Text="-" Value="-1"></asp:ListItem>
|
||||
@@ -2182,6 +2242,9 @@
|
||||
</ItemTemplate>
|
||||
</asp:TemplateField>
|
||||
<asp:TemplateField ItemStyle-Width="80px">
|
||||
<HeaderTemplate>
|
||||
Dividir
|
||||
</HeaderTemplate>
|
||||
<ItemTemplate>
|
||||
<asp:TextBox runat="server" ID="TxtDividir" Width="30px"></asp:TextBox>
|
||||
<ajax:FilteredTextBoxExtender ID="SoloNumeros2" runat="server" TargetControlID="TxtDividir" FilterType="Custom, Numbers" ValidChars="." />
|
||||
|
||||
@@ -74,23 +74,7 @@ Partial Class Compras_Compras
|
||||
ViewState("TmpDTOriginal") = value
|
||||
End Set
|
||||
End Property
|
||||
Private Property TmpCXP As DataTable
|
||||
Get
|
||||
Return CType(ViewState("TmpCXP"), DataTable)
|
||||
End Get
|
||||
Set(value As DataTable)
|
||||
ViewState("TmpCXP") = value
|
||||
End Set
|
||||
End Property
|
||||
|
||||
'Private Property PSDTRemplazo As DataTable
|
||||
' Get
|
||||
' Return CType(ViewState("PSDTRemplazo"), DataTable)
|
||||
' End Get
|
||||
' Set(value As DataTable)
|
||||
' ViewState("PSDTRemplazo") = value
|
||||
' End Set
|
||||
'End Property
|
||||
Private Property DtCheques As DataTable
|
||||
Get
|
||||
Return CType(ViewState("DtCheques"), DataTable)
|
||||
@@ -109,15 +93,6 @@ Partial Class Compras_Compras
|
||||
End Set
|
||||
End Property
|
||||
|
||||
Public Property IdVale As List(Of Integer)
|
||||
Get
|
||||
IdVale = DirectCast(ViewState("IdVale"), List(Of Integer))
|
||||
End Get
|
||||
|
||||
Set(ByVal value As List(Of Integer))
|
||||
ViewState("IdVale") = value
|
||||
End Set
|
||||
End Property
|
||||
Public Property ListaDocumentos As List(Of String)
|
||||
Get
|
||||
ListaDocumentos = DirectCast(ViewState("ListaDocumentos"), List(Of String))
|
||||
@@ -161,30 +136,22 @@ Partial Class Compras_Compras
|
||||
End Set
|
||||
End Property
|
||||
|
||||
'Private Property DtCuentas As DataTable
|
||||
' Get
|
||||
' Return CType(ViewState("DtCuentas"), DataTable)
|
||||
' End Get
|
||||
' Set(value As DataTable)
|
||||
' ViewState("DtCuentas") = value
|
||||
' End Set
|
||||
'End Property
|
||||
'Private Property CargoFactura As Boolean
|
||||
' Get
|
||||
' Return CType(ViewState("CargoFactura"), Boolean)
|
||||
' End Get
|
||||
' Set(value As Boolean)
|
||||
' ViewState("CargoFactura") = value
|
||||
' End Set
|
||||
'End Property
|
||||
Private Property tDTAcarreos As DataTable
|
||||
Private Property DTMedicos As DataTable
|
||||
Get
|
||||
Return If(IsNothing(ViewState("tDTAcarreos")), Nothing, CType(ViewState("tDTAcarreos"), DataTable))
|
||||
If IsNothing(ViewState("DTMedicos")) Then
|
||||
Dim tDT = New DataTable
|
||||
tDT.Columns.Add("CveCompra", GetType(Integer))
|
||||
tDT.Columns.Add("CveMedico", GetType(Integer))
|
||||
tDT.Columns.Add("Medico", GetType(String))
|
||||
ViewState("DTMedicos") = tDT
|
||||
End If
|
||||
Return CType(ViewState("DTMedicos"), DataTable)
|
||||
End Get
|
||||
Set(value As DataTable)
|
||||
ViewState("tDTAcarreos") = value
|
||||
ViewState("DTMedicos") = value
|
||||
End Set
|
||||
End Property
|
||||
|
||||
Private Property DtDeudores As DataTable
|
||||
Get
|
||||
Return CType(ViewState("DtDeudores"), DataTable)
|
||||
@@ -421,14 +388,7 @@ Partial Class Compras_Compras
|
||||
ViewState("PUSerieLote") = value
|
||||
End Set
|
||||
End Property
|
||||
Private Property TotAcarreos As Double
|
||||
Get
|
||||
Return CType(ViewState("TotAcarreos"), Double)
|
||||
End Get
|
||||
Set(value As Double)
|
||||
ViewState("TotAcarreos") = value
|
||||
End Set
|
||||
End Property
|
||||
|
||||
|
||||
<Serializable>
|
||||
Public Class Anticipos
|
||||
@@ -702,6 +662,7 @@ Partial Class Compras_Compras
|
||||
Private Property Descuentos As Decimal = 0
|
||||
Private Property Amortizaciones As Decimal = 0
|
||||
Private Property EmisorRFC As String
|
||||
Private Property EmisorRegimenFiscal As String
|
||||
Private Property ReceptorRFC As String
|
||||
Private Property TrasladoIVA As Decimal = 0
|
||||
Private Property RetencionIVA As Decimal = 0
|
||||
@@ -1257,7 +1218,6 @@ Partial Class Compras_Compras
|
||||
CveMetodoPago = -1
|
||||
RFCProveedor = ""
|
||||
CargaDdlTipoGasto()
|
||||
CreaTmpAcarreos()
|
||||
EsContado = False
|
||||
CierrePeriodo = False
|
||||
NCDevolucion = False
|
||||
@@ -1292,7 +1252,6 @@ Partial Class Compras_Compras
|
||||
'VALIDACION DE XML
|
||||
NuevaValidacionXML = IfNull(Request("NuevaValidacionXML"), 0).ToString.ToEntero
|
||||
|
||||
IdVale = New List(Of Integer)
|
||||
ListaDocumentos = New List(Of String)
|
||||
|
||||
TotalGeneral = 0
|
||||
@@ -1372,11 +1331,16 @@ Partial Class Compras_Compras
|
||||
DdlPersonal.DataSource = dtpersonal 'ObjPersonal.DtResultados
|
||||
DdlPersonalReembolso.DataSource = dtpersonal.FiltraParametros("CveEstatusPersonal = 1")
|
||||
|
||||
|
||||
'ObjPersonal.Dispose()
|
||||
DdlPersonal.DataBind()
|
||||
DdlPersonalReembolso.DataBind()
|
||||
|
||||
If UsuarioActual.Empresa.Funcionalidad(578) = "1" Then
|
||||
UPPMedicosGastos.Visible = True
|
||||
DdlMedico.DataSource = GlobalDTMedicos(UsuarioActual.CveEmpresa)
|
||||
DdlMedico.DataBind()
|
||||
End If
|
||||
|
||||
If UsuarioActual.Empresa.Funcionalidad(590).ToString.ToEntero = 1 Then
|
||||
DVCultivosCuadro.Visible = True
|
||||
DdlSubProyecto.AutoPostBack = True
|
||||
@@ -1979,13 +1943,12 @@ Partial Class Compras_Compras
|
||||
|
||||
If impuesto = "001" Then
|
||||
impuesto = "Retención ISR"
|
||||
If ValorXML(retencion, "TasaOCuota").Trim.ToDecimal = 0.0125 Then RetISRResico = True
|
||||
ElseIf impuesto = "002" Then
|
||||
impuesto = "Retención IVA"
|
||||
ElseIf impuesto = "003" Then
|
||||
impuesto = "IEPS"
|
||||
End If
|
||||
|
||||
|
||||
' Validar si Base coincide con Importe
|
||||
If baseValue <> importeValue Then
|
||||
'SbValRet.Append($"La base e importe de la retención del impuesto {impuesto} no coinciden para {descripcion}. Base: {baseValue.ToString()}, Importe: {importeValue.ToString()} <br>")
|
||||
@@ -2022,13 +1985,14 @@ Partial Class Compras_Compras
|
||||
End If
|
||||
End If
|
||||
Next
|
||||
If EmisorRegimenFiscal = "626" AndAlso Not RetISRResico Then
|
||||
SbValRet.Append(" La factura no tiene especificado una retención de ISR, ya que el proveedor es Resico. <br/>")
|
||||
End If
|
||||
|
||||
If SbValRet.ToString.Trim.Length > 0 Then
|
||||
Alert(SbValRet.ToString, TipoMensaje.MsgAdvertencia)
|
||||
End If
|
||||
|
||||
|
||||
|
||||
Else
|
||||
CargaConceptosXML(XMLDoc)
|
||||
End If
|
||||
@@ -3312,6 +3276,14 @@ Partial Class Compras_Compras
|
||||
BtnEliminarCompra.Visible = False
|
||||
End If
|
||||
|
||||
If UsuarioActual.Empresa.Funcionalidad(578) = "1" Then
|
||||
If ObjCompra.GetGastoMedicos(CveCompra) Then
|
||||
DTMedicos = ObjCompra.DtResultados
|
||||
GvMedicosGastos.DataSource = ObjCompra.DtResultados
|
||||
GvMedicosGastos.DataBind()
|
||||
End If
|
||||
End If
|
||||
|
||||
Else
|
||||
Alert("La compra solicitada no se encontró. Por favor rectifique y vuelva a intentar.", TipoMensaje.MsgAdvertencia)
|
||||
End If
|
||||
@@ -3462,12 +3434,6 @@ Partial Class Compras_Compras
|
||||
Deudores.Dispose()
|
||||
End Sub
|
||||
|
||||
Private Sub CreaTmpAcarreos()
|
||||
tDTAcarreos = New DataTable
|
||||
tDTAcarreos.Columns.Add("CvePreEstimacion", GetType(Integer))
|
||||
tDTAcarreos.Columns.Add("Importe", GetType(Double))
|
||||
End Sub
|
||||
|
||||
Protected Sub CargaAcreedores()
|
||||
Dim ObjMov As New ClsMovimientos
|
||||
|
||||
@@ -5097,306 +5063,315 @@ Partial Class Compras_Compras
|
||||
End Select
|
||||
End Select
|
||||
End If
|
||||
'-------INICIA U S A A C -------------------------------------------------------------------
|
||||
'If UsuarioActual.Empresa.UsaAC AndAlso Not TieneError Then
|
||||
If UsuarioActual.Empresa.Funcionalidad(578) = "1" Then
|
||||
If DTMedicos IsNot Nothing AndAlso DTMedicos.Rows.Count > 0 Then
|
||||
|
||||
' If TotalPorDevengar <= TxtTotal.Text.ToDouble And TotalPorDevengar > 0 Then
|
||||
' ObjContaAC = New ClsContPAQi(UsuarioActual.Empresa)
|
||||
' ObjContaAC.IniciaTransacSQL()
|
||||
For Each dr As DataRow In DTMedicos.Rows
|
||||
ObjCompras.AddGastoMedicos(CveCompra, dr("CveMedico").ToString.ToEntero, -1)
|
||||
Next
|
||||
End If
|
||||
|
||||
' ''POLIZA COMPROMETIDO SOLO SI NO SE VINCULA OC
|
||||
' If HdnVCveOC.Value.ToEntero > 0 Then
|
||||
End If
|
||||
'-------INICIA U S A A C -------------------------------------------------------------------
|
||||
'If UsuarioActual.Empresa.UsaAC AndAlso Not TieneError Then
|
||||
|
||||
' IDPolizaComprometido = 1
|
||||
' TotalPorDevengar = TotalPorDevengar * 2
|
||||
' Else
|
||||
' TotalPorDevengar = TotalPorDevengar * 3
|
||||
' End If
|
||||
' If TotalPorDevengar <= TxtTotal.Text.ToDouble And TotalPorDevengar > 0 Then
|
||||
' ObjContaAC = New ClsContPAQi(UsuarioActual.Empresa)
|
||||
' ObjContaAC.IniciaTransacSQL()
|
||||
|
||||
' IdPoliza = ObjContaAC.AddPoliza(3, TxtDescripcion.Text.Trim, TotalPorDevengar, TotalPorDevengar, UsuarioActual.CveUsuario, TxtFecha.Text.ToDate)
|
||||
' ''POLIZA COMPROMETIDO SOLO SI NO SE VINCULA OC
|
||||
' If HdnVCveOC.Value.ToEntero > 0 Then
|
||||
|
||||
' 'Dim filtro As New StringBuilder
|
||||
' If IdPoliza > 0 Then
|
||||
' PolizaFolio = ObjContaAC.Folio
|
||||
' 'Dim RegistroMatriz As DataRow
|
||||
' 'Dim CuentaCargo As Integer
|
||||
' Dim CuentaAbono As Integer
|
||||
' Dim Importe As Decimal
|
||||
' IDPolizaComprometido = 1
|
||||
' TotalPorDevengar = TotalPorDevengar * 2
|
||||
' Else
|
||||
' TotalPorDevengar = TotalPorDevengar * 3
|
||||
' End If
|
||||
|
||||
' 'CUENTA PROVEEDOR
|
||||
' 'If tIdContaProveedor <= 0 Then
|
||||
' ' 'normalmente debe de ser la cuenta 021120000000000000, para el caso de APH, se el cmabio al 2119
|
||||
' ' If ObjContaAC.GetCuentas(-1, "021190000000000000", -1) Then
|
||||
' ' Dim drCuenta As DataRow = ObjContaAC.DtResultados.FiltroPrimero("")
|
||||
' ' If drCuenta IsNot Nothing Then
|
||||
' IdPoliza = ObjContaAC.AddPoliza(3, TxtDescripcion.Text.Trim, TotalPorDevengar, TotalPorDevengar, UsuarioActual.CveUsuario, TxtFecha.Text.ToDate)
|
||||
|
||||
' ' CuentaAbono = drCuenta("Id").ToString.ToEntero
|
||||
' ' Dim FolioProveedor = ObjContaAC.GetFolioProveedores("021190000000000000").ToString
|
||||
' ' ViewState("CtaProveedor") = ObjContaAC.AddCuenta(String.Format("02119{0}000000000", FolioProveedor.PadLeft(4, "0"c)), NombreProveedor, "D", 2, 0, 1, 0, "", 1, CuentaAbono)
|
||||
' ' ObjProveedores.UpdateProveedorIdCuentaAC(CveProveedor, CtaProveedor)
|
||||
' 'Dim filtro As New StringBuilder
|
||||
' If IdPoliza > 0 Then
|
||||
' PolizaFolio = ObjContaAC.Folio
|
||||
' 'Dim RegistroMatriz As DataRow
|
||||
' 'Dim CuentaCargo As Integer
|
||||
' Dim CuentaAbono As Integer
|
||||
' Dim Importe As Decimal
|
||||
|
||||
' 'CUENTA PROVEEDOR
|
||||
' 'If tIdContaProveedor <= 0 Then
|
||||
' ' 'normalmente debe de ser la cuenta 021120000000000000, para el caso de APH, se el cmabio al 2119
|
||||
' ' If ObjContaAC.GetCuentas(-1, "021190000000000000", -1) Then
|
||||
' ' Dim drCuenta As DataRow = ObjContaAC.DtResultados.FiltroPrimero("")
|
||||
' ' If drCuenta IsNot Nothing Then
|
||||
|
||||
' ' CuentaAbono = drCuenta("Id").ToString.ToEntero
|
||||
' ' Dim FolioProveedor = ObjContaAC.GetFolioProveedores("021190000000000000").ToString
|
||||
' ' ViewState("CtaProveedor") = ObjContaAC.AddCuenta(String.Format("02119{0}000000000", FolioProveedor.PadLeft(4, "0"c)), NombreProveedor, "D", 2, 0, 1, 0, "", 1, CuentaAbono)
|
||||
' ' ObjProveedores.UpdateProveedorIdCuentaAC(CveProveedor, CtaProveedor)
|
||||
|
||||
|
||||
' ' Else
|
||||
' ' ErrorAC = True
|
||||
' ' ErrorACMEnsaje.Append(" - DrCuenta Nula")
|
||||
' ' End If
|
||||
' ' Else
|
||||
' ' ErrorACMEnsaje.Append(" - Error al consultar cuenta 021190000000000000 ")
|
||||
' ' ErrorAC = True
|
||||
' ' End If
|
||||
' 'End If
|
||||
' ' Else
|
||||
' ' ErrorAC = True
|
||||
' ' ErrorACMEnsaje.Append(" - DrCuenta Nula")
|
||||
' ' End If
|
||||
' ' Else
|
||||
' ' ErrorACMEnsaje.Append(" - Error al consultar cuenta 021190000000000000 ")
|
||||
' ' ErrorAC = True
|
||||
' ' End If
|
||||
' 'End If
|
||||
|
||||
' Dim ConceptoRenglon As String = ""
|
||||
' If Not ErrorAC Then
|
||||
' Dim ConceptoRenglon As String = ""
|
||||
' If Not ErrorAC Then
|
||||
|
||||
|
||||
' 'INVENTARIOS EN AC
|
||||
' Dim ContadorInventario As Integer = GvInv.Rows.Cast(Of GridViewRow)().Count(Function(gvr) gvr.FCCheckBox("cbInv").Checked)
|
||||
' 'INVENTARIOS EN AC
|
||||
' Dim ContadorInventario As Integer = GvInv.Rows.Cast(Of GridViewRow)().Count(Function(gvr) gvr.FCCheckBox("cbInv").Checked)
|
||||
|
||||
' Dim tTotalIVA, tTotalGral, tDiferenciaIVA, tIVA, tRetIVA, tRetISR As Decimal
|
||||
' Dim ipresup As Integer = 0
|
||||
' 'COMIENZA: PRUEBA AGRUPACION CONCEPTOS
|
||||
' Dim Presup = From gvr As DataRow In TmpDT.Rows.Cast(Of DataRow)()
|
||||
' Group gvr By Grp = New With {
|
||||
' Key .CvePresupuestoEgreso = gvr("CvePresupuestoEgreso").ToString.ToEntero,
|
||||
' Key .CveOrdencompraDetalle = If(gvr("CveOrdencompraDetalle").ToString.ToEntero > 0, 1, -1),
|
||||
' Key .CveActivoFijo = If(gvr("TipoAF").ToString.ToEntero = 2, gvr("CveActivoFijo").ToString.ToEntero, -1)
|
||||
' } Into Group
|
||||
' Select Grp.CvePresupuestoEgreso, Grp.CveActivoFijo, Grp.CveOrdencompraDetalle,
|
||||
' TotalImporte = Group.Sum(Function(r) r("Total").ToString.ToDecimal)
|
||||
' Dim Fecha As Date = TxtFecha.Text.ToDate
|
||||
' Dim tTotalIVA, tTotalGral, tDiferenciaIVA, tIVA, tRetIVA, tRetISR As Decimal
|
||||
' Dim ipresup As Integer = 0
|
||||
' 'COMIENZA: PRUEBA AGRUPACION CONCEPTOS
|
||||
' Dim Presup = From gvr As DataRow In TmpDT.Rows.Cast(Of DataRow)()
|
||||
' Group gvr By Grp = New With {
|
||||
' Key .CvePresupuestoEgreso = gvr("CvePresupuestoEgreso").ToString.ToEntero,
|
||||
' Key .CveOrdencompraDetalle = If(gvr("CveOrdencompraDetalle").ToString.ToEntero > 0, 1, -1),
|
||||
' Key .CveActivoFijo = If(gvr("TipoAF").ToString.ToEntero = 2, gvr("CveActivoFijo").ToString.ToEntero, -1)
|
||||
' } Into Group
|
||||
' Select Grp.CvePresupuestoEgreso, Grp.CveActivoFijo, Grp.CveOrdencompraDetalle,
|
||||
' TotalImporte = Group.Sum(Function(r) r("Total").ToString.ToDecimal)
|
||||
' Dim Fecha As Date = TxtFecha.Text.ToDate
|
||||
|
||||
' 'Dim tTotalIVA, tTotalGral, tDiferenciaIVA, tIVA As Double
|
||||
' tTotalIVA = TxtIVA.Text.ToDecimal
|
||||
' tRetIVA = TxtRetIVA.Text.ToDecimal
|
||||
' tRetISR = TxtRetISR.Text.ToDecimal
|
||||
' 'Dim tTotalIVA, tTotalGral, tDiferenciaIVA, tIVA As Double
|
||||
' tTotalIVA = TxtIVA.Text.ToDecimal
|
||||
' tRetIVA = TxtRetIVA.Text.ToDecimal
|
||||
' tRetISR = TxtRetISR.Text.ToDecimal
|
||||
|
||||
' 'tTotalIVA = tTotalIVA - tRetIVA - tRetISR
|
||||
' 'tTotalIVA = tTotalIVA - tRetIVA - tRetISR
|
||||
|
||||
' tTotalGral = TxtTotal.Text.ToDecimal + tRetIVA + tRetISR ' EL TOTAL GENERAL DEBE DE SER EL SUBTOTAL + IVA, NO SE DEBEN DE INCLUIR LAS RETENCIONES, POR ESO SE RESTA
|
||||
' tDiferenciaIVA = tTotalIVA
|
||||
' tTotalGral = TxtTotal.Text.ToDecimal + tRetIVA + tRetISR ' EL TOTAL GENERAL DEBE DE SER EL SUBTOTAL + IVA, NO SE DEBEN DE INCLUIR LAS RETENCIONES, POR ESO SE RESTA
|
||||
' tDiferenciaIVA = tTotalIVA
|
||||
|
||||
' ipresup = 0
|
||||
' ipresup = 0
|
||||
|
||||
' Dim CuentaMatrizAlmacen As Integer
|
||||
' Dim CuentaMatrizAlmacen As Integer
|
||||
|
||||
' 'PresupuestoEgresos
|
||||
' Dim DtPresupuestosTemp As DataTable
|
||||
' Dim IdCuentaComprometido, IdCuentaPorEjercer, IdCuentaDevengado, IdCuentaMatriz As Integer
|
||||
' ' Dim DescuentoConIVA As Decimal
|
||||
' Dim tPorIVA As Decimal = tTotalIVA / (tTotalGral - tTotalIVA)
|
||||
' Dim tAjusteTotal As Decimal
|
||||
' 'PresupuestoEgresos
|
||||
' Dim DtPresupuestosTemp As DataTable
|
||||
' Dim IdCuentaComprometido, IdCuentaPorEjercer, IdCuentaDevengado, IdCuentaMatriz As Integer
|
||||
' ' Dim DescuentoConIVA As Decimal
|
||||
' Dim tPorIVA As Decimal = tTotalIVA / (tTotalGral - tTotalIVA)
|
||||
' Dim tAjusteTotal As Decimal
|
||||
|
||||
' For Each grp In Presup
|
||||
' Importe = grp.TotalImporte
|
||||
' TotalDetalle += Importe
|
||||
' ipresup += 1
|
||||
' If Importe > 0 Then
|
||||
' 'saco la proporcion de iva que le corresponde
|
||||
' tIVA = Math.Round(Importe * tPorIVA, 2)
|
||||
' tDiferenciaIVA -= tIVA
|
||||
' 'identifico si es el ultimo registro, para ver si es necesario un ajuste
|
||||
' If ipresup = Presup.Count Then
|
||||
' If Math.Round(TotalDetalle - tTotalGral, 2) <= 0.01 AndAlso tDiferenciaIVA > 0 Then
|
||||
' tIVA += tDiferenciaIVA
|
||||
' End If
|
||||
' End If
|
||||
' For Each grp In Presup
|
||||
' Importe = grp.TotalImporte
|
||||
' TotalDetalle += Importe
|
||||
' ipresup += 1
|
||||
' If Importe > 0 Then
|
||||
' 'saco la proporcion de iva que le corresponde
|
||||
' tIVA = Math.Round(Importe * tPorIVA, 2)
|
||||
' tDiferenciaIVA -= tIVA
|
||||
' 'identifico si es el ultimo registro, para ver si es necesario un ajuste
|
||||
' If ipresup = Presup.Count Then
|
||||
' If Math.Round(TotalDetalle - tTotalGral, 2) <= 0.01 AndAlso tDiferenciaIVA > 0 Then
|
||||
' tIVA += tDiferenciaIVA
|
||||
' End If
|
||||
' End If
|
||||
|
||||
' 'le sumo el iva al concepto
|
||||
' Importe += tIVA
|
||||
' 'le sumo el iva al concepto
|
||||
' Importe += tIVA
|
||||
|
||||
' 'codigo Provisional, para cuand tenga descuento, solo tome el subtotal * el iva,RMF
|
||||
' If TxtDescuento.Text.ToDouble > 0 Then
|
||||
' Importe = grp.TotalImporte * 1.16D
|
||||
' End If
|
||||
' 'codigo Provisional, para cuand tenga descuento, solo tome el subtotal * el iva,RMF
|
||||
' If TxtDescuento.Text.ToDouble > 0 Then
|
||||
' Importe = grp.TotalImporte * 1.16D
|
||||
' End If
|
||||
|
||||
' tAjusteTotal += Importe
|
||||
' 'valido que la sumas de lo detalles no exceda al totalgeneral
|
||||
' If Math.Round(tAjusteTotal, 2) > tTotalGral Then
|
||||
' 'le resto la diferencia
|
||||
' Importe -= (tAjusteTotal - tTotalGral)
|
||||
' End If
|
||||
' tAjusteTotal += Importe
|
||||
' 'valido que la sumas de lo detalles no exceda al totalgeneral
|
||||
' If Math.Round(tAjusteTotal, 2) > tTotalGral Then
|
||||
' 'le resto la diferencia
|
||||
' Importe -= (tAjusteTotal - tTotalGral)
|
||||
' End If
|
||||
|
||||
' 'Presupuesto Egresos
|
||||
' DtPresupuestosTemp = DtPresupuestos.FiltraParametros(String.Format("CvePresupuestoEgreso = {0}", grp.CvePresupuestoEgreso))
|
||||
' If DtPresupuestosTemp.Rows.Count <> 1 Then
|
||||
' ErrorAC = True
|
||||
' ErrorACMEnsaje.Append(" - DtPresupuestosTemp.Rows.Count <> 1 ")
|
||||
' Exit For
|
||||
' End If
|
||||
' IdCuentaComprometido = DtPresupuestosTemp.Rows(0)("IdCuentaComprometido").ToString.ToEntero
|
||||
' IdCuentaPorEjercer = DtPresupuestosTemp.Rows(0)("IdCuentaPorEjercer").ToString.ToEntero
|
||||
' IdCuentaDevengado = DtPresupuestosTemp.Rows(0)("IdCuentaDevengado").ToString.ToEntero
|
||||
' IdCuentaMatriz = DtPresupuestosTemp.Rows(0)("IdCuentaMatriz").ToString.ToEntero
|
||||
' 'Presupuesto Egresos
|
||||
' DtPresupuestosTemp = DtPresupuestos.FiltraParametros(String.Format("CvePresupuestoEgreso = {0}", grp.CvePresupuestoEgreso))
|
||||
' If DtPresupuestosTemp.Rows.Count <> 1 Then
|
||||
' ErrorAC = True
|
||||
' ErrorACMEnsaje.Append(" - DtPresupuestosTemp.Rows.Count <> 1 ")
|
||||
' Exit For
|
||||
' End If
|
||||
' IdCuentaComprometido = DtPresupuestosTemp.Rows(0)("IdCuentaComprometido").ToString.ToEntero
|
||||
' IdCuentaPorEjercer = DtPresupuestosTemp.Rows(0)("IdCuentaPorEjercer").ToString.ToEntero
|
||||
' IdCuentaDevengado = DtPresupuestosTemp.Rows(0)("IdCuentaDevengado").ToString.ToEntero
|
||||
' IdCuentaMatriz = DtPresupuestosTemp.Rows(0)("IdCuentaMatriz").ToString.ToEntero
|
||||
|
||||
' 'COMPROMETIDO DEPENDIENTE SI EXISTE SU POLIZA
|
||||
' If grp.CveOrdencompraDetalle = -1 Then
|
||||
' ConceptoRenglon = String.Format("GC Fact: {0}-{1} {2}", TxtSerie.Text.Trim, TxtFolio.Text.Trim, DdlProveedor.SelectedItem.Text)
|
||||
' If ObjContaAC.AddMovimiento(IdPoliza, IdCuentaComprometido, False, MultiplicadorNC * Importe, "", ConceptoRenglon, 0, Fecha, "") Then
|
||||
' If Not ObjContaAC.AddMovimiento(IdPoliza, IdCuentaPorEjercer, True, MultiplicadorNC * Importe, "", ConceptoRenglon, 0, Fecha, "") Then
|
||||
' ErrorAC = True
|
||||
' ErrorACMEnsaje.Append(" - Error al agregar movimiento contabilidad 1")
|
||||
' Exit For
|
||||
' End If
|
||||
' Else
|
||||
' ErrorACMEnsaje.Append(" - Error al agregar movimiento contabilidad 2")
|
||||
' ErrorAC = True
|
||||
' Exit For
|
||||
' End If
|
||||
' End If
|
||||
' 'COMPROMETIDO DEPENDIENTE SI EXISTE SU POLIZA
|
||||
' If grp.CveOrdencompraDetalle = -1 Then
|
||||
' ConceptoRenglon = String.Format("GC Fact: {0}-{1} {2}", TxtSerie.Text.Trim, TxtFolio.Text.Trim, DdlProveedor.SelectedItem.Text)
|
||||
' If ObjContaAC.AddMovimiento(IdPoliza, IdCuentaComprometido, False, MultiplicadorNC * Importe, "", ConceptoRenglon, 0, Fecha, "") Then
|
||||
' If Not ObjContaAC.AddMovimiento(IdPoliza, IdCuentaPorEjercer, True, MultiplicadorNC * Importe, "", ConceptoRenglon, 0, Fecha, "") Then
|
||||
' ErrorAC = True
|
||||
' ErrorACMEnsaje.Append(" - Error al agregar movimiento contabilidad 1")
|
||||
' Exit For
|
||||
' End If
|
||||
' Else
|
||||
' ErrorACMEnsaje.Append(" - Error al agregar movimiento contabilidad 2")
|
||||
' ErrorAC = True
|
||||
' Exit For
|
||||
' End If
|
||||
' End If
|
||||
|
||||
' ConceptoRenglon = String.Format("GD Fact:{0}-{1} {2}", TxtSerie.Text.Trim, TxtFolio.Text.Trim, DdlProveedor.SelectedItem.Text)
|
||||
' 'DEVENGADO
|
||||
' If ObjContaAC.AddMovimiento(IdPoliza, IdCuentaDevengado, False, MultiplicadorNC * Importe, "", ConceptoRenglon, 0, Fecha, "") Then
|
||||
' If Not ObjContaAC.AddMovimiento(IdPoliza, IdCuentaComprometido, True, MultiplicadorNC * Importe, "", ConceptoRenglon, 0, Fecha, "") Then
|
||||
' ErrorACMEnsaje.Append(" - Error al agregar movimiento contabilidad 3")
|
||||
' ErrorAC = True
|
||||
' Exit For
|
||||
' End If
|
||||
' Else
|
||||
' ErrorACMEnsaje.Append(" - Error al agregar movimiento contabilidad 4")
|
||||
' ErrorAC = True
|
||||
' Exit For
|
||||
' End If
|
||||
' ConceptoRenglon = String.Format("GD Fact:{0}-{1} {2}", TxtSerie.Text.Trim, TxtFolio.Text.Trim, DdlProveedor.SelectedItem.Text)
|
||||
' 'DEVENGADO
|
||||
' If ObjContaAC.AddMovimiento(IdPoliza, IdCuentaDevengado, False, MultiplicadorNC * Importe, "", ConceptoRenglon, 0, Fecha, "") Then
|
||||
' If Not ObjContaAC.AddMovimiento(IdPoliza, IdCuentaComprometido, True, MultiplicadorNC * Importe, "", ConceptoRenglon, 0, Fecha, "") Then
|
||||
' ErrorACMEnsaje.Append(" - Error al agregar movimiento contabilidad 3")
|
||||
' ErrorAC = True
|
||||
' Exit For
|
||||
' End If
|
||||
' Else
|
||||
' ErrorACMEnsaje.Append(" - Error al agregar movimiento contabilidad 4")
|
||||
' ErrorAC = True
|
||||
' Exit For
|
||||
' End If
|
||||
|
||||
' If ContadorInventario > 0 Then
|
||||
' If ContadorInventario > 0 Then
|
||||
|
||||
' ' CuentaMatrizAlmacen = CtaAlmacen
|
||||
' ElseIf grp.CveActivoFijo > 0 Then
|
||||
' ' CuentaMatrizAlmacen = CtaAlmacen
|
||||
' ElseIf grp.CveActivoFijo > 0 Then
|
||||
|
||||
' Dim CtaAF As Integer = -1
|
||||
' Dim AF As String = ""
|
||||
' Dim CuentaInicial As Integer = -1
|
||||
' Dim CtaAF As Integer = -1
|
||||
' Dim AF As String = ""
|
||||
' Dim CuentaInicial As Integer = -1
|
||||
|
||||
' If ObjAF.GetActivosFijos(grp.CveActivoFijo, UsuarioActual.CveEmpresa, "-1", "-1", -1, -1, "-1", -1, -1, -1, -1, -1, "", -1, UsuarioActual.CveEmpresa) Then
|
||||
' CtaAF = ObjAF.Cuenta
|
||||
' AF = ObjAF.Descripcion
|
||||
' CuentaInicial = ObjAF.CuentaInicial
|
||||
' Else
|
||||
' ErrorAC = True
|
||||
' ErrorACMEnsaje.Append(" - Error al obtener activos fijos ")
|
||||
' Exit For
|
||||
' End If
|
||||
' If ObjAF.GetActivosFijos(grp.CveActivoFijo, UsuarioActual.CveEmpresa, "-1", "-1", -1, -1, "-1", -1, -1, -1, -1, -1, "", -1, UsuarioActual.CveEmpresa) Then
|
||||
' CtaAF = ObjAF.Cuenta
|
||||
' AF = ObjAF.Descripcion
|
||||
' CuentaInicial = ObjAF.CuentaInicial
|
||||
' Else
|
||||
' ErrorAC = True
|
||||
' ErrorACMEnsaje.Append(" - Error al obtener activos fijos ")
|
||||
' Exit For
|
||||
' End If
|
||||
|
||||
' If Not CuentaInicial > 0 Then
|
||||
' CuentaInicial = 1241
|
||||
' End If
|
||||
' If Not CuentaInicial > 0 Then
|
||||
' CuentaInicial = 1241
|
||||
' End If
|
||||
|
||||
' 'CUENTA AF
|
||||
' If CtaAF <= 0 Then
|
||||
' If ObjContaAC.GetCuentas(-1, String.Format("0{0}0000000000000", CuentaInicial), -1) Then
|
||||
' Dim drCuenta As DataRow = ObjContaAC.DtResultados.FiltroPrimero("")
|
||||
' If drCuenta IsNot Nothing Then
|
||||
' ErrorACMEnsaje.Append(" - Error al obtener cuentas 0{0}0000000000000 drCuenta nula")
|
||||
' CuentaAbono = drCuenta("Id").ToString.ToEntero
|
||||
' Dim FolioAF As String = ObjContaAC.GetFolioProveedores(String.Format("0{0}0000000000000", CuentaInicial)).ToString
|
||||
' CtaAF = ObjContaAC.AddCuenta(String.Format("0{0}{1}000000000", CuentaInicial, FolioAF.PadLeft(4, "0"c)), AF, "A", 2, 0, 1, 0, "", 1, CuentaAbono)
|
||||
' 'CUENTA AF
|
||||
' If CtaAF <= 0 Then
|
||||
' If ObjContaAC.GetCuentas(-1, String.Format("0{0}0000000000000", CuentaInicial), -1) Then
|
||||
' Dim drCuenta As DataRow = ObjContaAC.DtResultados.FiltroPrimero("")
|
||||
' If drCuenta IsNot Nothing Then
|
||||
' ErrorACMEnsaje.Append(" - Error al obtener cuentas 0{0}0000000000000 drCuenta nula")
|
||||
' CuentaAbono = drCuenta("Id").ToString.ToEntero
|
||||
' Dim FolioAF As String = ObjContaAC.GetFolioProveedores(String.Format("0{0}0000000000000", CuentaInicial)).ToString
|
||||
' CtaAF = ObjContaAC.AddCuenta(String.Format("0{0}{1}000000000", CuentaInicial, FolioAF.PadLeft(4, "0"c)), AF, "A", 2, 0, 1, 0, "", 1, CuentaAbono)
|
||||
|
||||
' ObjAF.UpdateActivosFijosCuentaAC(grp.CveActivoFijo, CtaAF, UsuarioActual.CveUsuario)
|
||||
' Else
|
||||
' ErrorACMEnsaje.Append(" - Error al obtener cuentas 0{0}0000000000000 drCuenta nulo")
|
||||
' ErrorAC = True
|
||||
' End If
|
||||
' Else
|
||||
' ErrorACMEnsaje.Append(" - Error al obtener cuentas 0{0}0000000000000")
|
||||
' ErrorAC = True
|
||||
' End If
|
||||
' End If
|
||||
' ObjAF.UpdateActivosFijosCuentaAC(grp.CveActivoFijo, CtaAF, UsuarioActual.CveUsuario)
|
||||
' Else
|
||||
' ErrorACMEnsaje.Append(" - Error al obtener cuentas 0{0}0000000000000 drCuenta nulo")
|
||||
' ErrorAC = True
|
||||
' End If
|
||||
' Else
|
||||
' ErrorACMEnsaje.Append(" - Error al obtener cuentas 0{0}0000000000000")
|
||||
' ErrorAC = True
|
||||
' End If
|
||||
' End If
|
||||
|
||||
' CuentaMatrizAlmacen = CtaAF
|
||||
' Else
|
||||
' CuentaMatrizAlmacen = IdCuentaMatriz
|
||||
' End If
|
||||
' CuentaMatrizAlmacen = CtaAF
|
||||
' Else
|
||||
' CuentaMatrizAlmacen = IdCuentaMatriz
|
||||
' End If
|
||||
|
||||
|
||||
' ''AFECTAR MATRIZ EGRESOS
|
||||
' If ObjContaAC.AddMovimiento(IdPoliza, CuentaMatrizAlmacen, False, MultiplicadorNC * Importe, "", ConceptoRenglon, 0, Fecha, "") Then
|
||||
' ''AFECTAR MATRIZ EGRESOS
|
||||
' If ObjContaAC.AddMovimiento(IdPoliza, CuentaMatrizAlmacen, False, MultiplicadorNC * Importe, "", ConceptoRenglon, 0, Fecha, "") Then
|
||||
|
||||
|
||||
' ''VERIFICA SI TIENE DESCUENTO (AMORTIZACION)
|
||||
' 'If TxtDescuento.Text.ToDouble > 0 Then
|
||||
' ' DescuentoConIVA = TxtDescuento.Text.ToDouble * 1.16
|
||||
' ''VERIFICA SI TIENE DESCUENTO (AMORTIZACION)
|
||||
' 'If TxtDescuento.Text.ToDouble > 0 Then
|
||||
' ' DescuentoConIVA = TxtDescuento.Text.ToDouble * 1.16
|
||||
|
||||
' ' 'Valida que el descuento con iva cuadre en los totales
|
||||
' ' If Math.Abs(DescuentoConIVA - (Importe - TxtTotal.Text.ToDouble)) < 0.02 Then
|
||||
' ' DescuentoConIVA = Importe - TxtTotal.Text.ToDouble
|
||||
' ' ElseIf DescuentoConIVA <> (Importe - TxtTotal.Text.ToDouble) Then
|
||||
' ' ErrorAC = True
|
||||
' ' Exit For
|
||||
' ' End If
|
||||
' ' 'Valida que el descuento con iva cuadre en los totales
|
||||
' ' If Math.Abs(DescuentoConIVA - (Importe - TxtTotal.Text.ToDouble)) < 0.02 Then
|
||||
' ' DescuentoConIVA = Importe - TxtTotal.Text.ToDouble
|
||||
' ' ElseIf DescuentoConIVA <> (Importe - TxtTotal.Text.ToDouble) Then
|
||||
' ' ErrorAC = True
|
||||
' ' Exit For
|
||||
' ' End If
|
||||
|
||||
' ' 'actualizo el idcuenta del presupuesto
|
||||
' ' If ObjContaAC.AddMovimiento(123456, IdPoliza, tIdContaProveedor, True, Importe - DescuentoConIVA, "", ConceptoRenglon, 0, Fecha, "") Then
|
||||
' ' 'agrego a la cuenta contable anticipos
|
||||
' ' If Not ObjContaAC.AddMovimiento(123456, IdPoliza, CtaProveedorAnticipos, True, DescuentoConIVA, "", ConceptoRenglon, 0, Fecha, "") Then
|
||||
' ' ErrorAC = True
|
||||
' ' Exit For
|
||||
' ' End If
|
||||
' ' Else
|
||||
' ' ErrorAC = True
|
||||
' ' Exit For
|
||||
' ' End If
|
||||
' ' 'actualizo el idcuenta del presupuesto
|
||||
' ' If ObjContaAC.AddMovimiento(123456, IdPoliza, tIdContaProveedor, True, Importe - DescuentoConIVA, "", ConceptoRenglon, 0, Fecha, "") Then
|
||||
' ' 'agrego a la cuenta contable anticipos
|
||||
' ' If Not ObjContaAC.AddMovimiento(123456, IdPoliza, CtaProveedorAnticipos, True, DescuentoConIVA, "", ConceptoRenglon, 0, Fecha, "") Then
|
||||
' ' ErrorAC = True
|
||||
' ' Exit For
|
||||
' ' End If
|
||||
' ' Else
|
||||
' ' ErrorAC = True
|
||||
' ' Exit For
|
||||
' ' End If
|
||||
|
||||
' 'Else
|
||||
' ' 'actualizo el idcuenta del presupuesto
|
||||
' ' Importe = TxtTotal.Text.ToDouble
|
||||
' ' If Not ObjContaAC.AddMovimiento(123456, IdPoliza, tIdContaProveedor, True, If(ArrAnticipos.Count > 0, ImporteAnticipo, Importe), "", ConceptoRenglon, 0, Fecha, "") Then
|
||||
' ' ErrorAC = True
|
||||
' ' Exit For
|
||||
' ' End If
|
||||
' 'Else
|
||||
' ' 'actualizo el idcuenta del presupuesto
|
||||
' ' Importe = TxtTotal.Text.ToDouble
|
||||
' ' If Not ObjContaAC.AddMovimiento(123456, IdPoliza, tIdContaProveedor, True, If(ArrAnticipos.Count > 0, ImporteAnticipo, Importe), "", ConceptoRenglon, 0, Fecha, "") Then
|
||||
' ' ErrorAC = True
|
||||
' ' Exit For
|
||||
' ' End If
|
||||
|
||||
' 'End If
|
||||
' 'End If
|
||||
|
||||
|
||||
' Else
|
||||
' ErrorACMEnsaje.Append(" - Error AFECTAR MATRIZ EGRESOS ObjContaAC.AddMovimiento")
|
||||
' ErrorAC = True
|
||||
' Exit For
|
||||
' End If
|
||||
' ''TERMINA AFECTAR MATRIZ EGRESOS
|
||||
' Else
|
||||
' ErrorACMEnsaje.Append(" - Error AFECTAR MATRIZ EGRESOS ObjContaAC.AddMovimiento")
|
||||
' ErrorAC = True
|
||||
' Exit For
|
||||
' End If
|
||||
' ''TERMINA AFECTAR MATRIZ EGRESOS
|
||||
|
||||
' Else
|
||||
' ErrorACMEnsaje.Append(" - For Each grp In Presup Importe > 0 ")
|
||||
' ErrorAC = True
|
||||
' Exit For
|
||||
' End If
|
||||
' Else
|
||||
' ErrorACMEnsaje.Append(" - For Each grp In Presup Importe > 0 ")
|
||||
' ErrorAC = True
|
||||
' Exit For
|
||||
' End If
|
||||
|
||||
' Next
|
||||
' Next
|
||||
|
||||
' ''actualizo el idcuenta del presupuesto
|
||||
' 'Importe = TxtTotal.Text.ToDecimal
|
||||
' 'If Not ObjContaAC.AddMovimiento(IdPoliza, tIdContaProveedor, True, MultiplicadorNC * (If(ArrAnticipos.Count > 0, ImporteAnticipo, Importe)), "", ConceptoRenglon, 0, Fecha, "") Then
|
||||
' ' ErrorACMEnsaje.Append(" - actualizo el idcuenta del presupuesto ObjContaAC.AddMovimiento 3")
|
||||
' ' ErrorAC = True
|
||||
' 'End If
|
||||
' 'End If
|
||||
' ''actualizo el idcuenta del presupuesto
|
||||
' 'Importe = TxtTotal.Text.ToDecimal
|
||||
' 'If Not ObjContaAC.AddMovimiento(IdPoliza, tIdContaProveedor, True, MultiplicadorNC * (If(ArrAnticipos.Count > 0, ImporteAnticipo, Importe)), "", ConceptoRenglon, 0, Fecha, "") Then
|
||||
' ' ErrorACMEnsaje.Append(" - actualizo el idcuenta del presupuesto ObjContaAC.AddMovimiento 3")
|
||||
' ' ErrorAC = True
|
||||
' 'End If
|
||||
' 'End If
|
||||
|
||||
' 'If tRetISR > 0 Then 'CtaProveedorRetISR
|
||||
' ' ConceptoRenglon = String.Format("GD Fact: {0}-{1} {2}", TxtSerie.Text.Trim, TxtFolio.Text.Trim, DdlProveedor.SelectedItem.Text)
|
||||
' ' If Not ObjContaAC.AddMovimiento(IdPoliza, 0, True, MultiplicadorNC * tRetISR, "", ConceptoRenglon, 0, Fecha, "") Then
|
||||
' ' ErrorACMEnsaje.Append(" RetISR > 0 ObjContaAC.AddMovimiento")
|
||||
' ' ErrorAC = True
|
||||
' ' End If
|
||||
' 'End If
|
||||
' 'If tRetISR > 0 Then 'CtaProveedorRetISR
|
||||
' ' ConceptoRenglon = String.Format("GD Fact: {0}-{1} {2}", TxtSerie.Text.Trim, TxtFolio.Text.Trim, DdlProveedor.SelectedItem.Text)
|
||||
' ' If Not ObjContaAC.AddMovimiento(IdPoliza, 0, True, MultiplicadorNC * tRetISR, "", ConceptoRenglon, 0, Fecha, "") Then
|
||||
' ' ErrorACMEnsaje.Append(" RetISR > 0 ObjContaAC.AddMovimiento")
|
||||
' ' ErrorAC = True
|
||||
' ' End If
|
||||
' 'End If
|
||||
|
||||
' 'TERMINA: PRUEBA AGRUPACION CONCEPTOS
|
||||
' 'TERMINA: PRUEBA AGRUPACION CONCEPTOS
|
||||
|
||||
' 'registrar amortizar anticipos
|
||||
' End If
|
||||
' 'registrar amortizar anticipos
|
||||
' End If
|
||||
|
||||
' Else
|
||||
' ErrorACMEnsaje.Append(" - Id Poliza = 0 ")
|
||||
' ErrorAC = True
|
||||
' End If
|
||||
' Else
|
||||
' TieneError = True
|
||||
' ErrorACMEnsaje.Append("- TotalPorDevengar <= TxtTotal.Text.ToDouble And TotalPorDevengar > 0")
|
||||
' ErrorAC = True
|
||||
' End If
|
||||
'End If
|
||||
'-------FIN U S A A C -------------------------------------------------------------------
|
||||
' Else
|
||||
' ErrorACMEnsaje.Append(" - Id Poliza = 0 ")
|
||||
' ErrorAC = True
|
||||
' End If
|
||||
' Else
|
||||
' TieneError = True
|
||||
' ErrorACMEnsaje.Append("- TotalPorDevengar <= TxtTotal.Text.ToDouble And TotalPorDevengar > 0")
|
||||
' ErrorAC = True
|
||||
' End If
|
||||
'End If
|
||||
'-------FIN U S A A C -------------------------------------------------------------------
|
||||
|
||||
If Not ErrorAC AndAlso Not TieneError Then
|
||||
If Not ErrorAC AndAlso Not TieneError Then
|
||||
|
||||
Dim AutoConta As Boolean = UsuarioActual.Empresa.Funcionalidad(200) = "1"
|
||||
|
||||
@@ -5465,18 +5440,6 @@ Partial Class Compras_Compras
|
||||
|
||||
End If
|
||||
|
||||
'Vincula Vales
|
||||
'If IdVale.Count > 0 Then
|
||||
' For Each cve As Integer In IdVale
|
||||
' If Not ObjAF.UpdateValeCombustible(cve, CveCompra, -1, "", -1, -1, -1, UsuarioActual.CveEmpresa) Then
|
||||
' ErrorAF = True
|
||||
' Exit For
|
||||
' End If
|
||||
' Next
|
||||
'End If
|
||||
|
||||
|
||||
|
||||
'AGREGA AF COMPRA - Cuando es Compra se guarda CveCompraDetalle en AF
|
||||
If Row("TipoAF").ToString.ToEntero = 2 Then
|
||||
Dim Valor As Decimal = Row("Total").ToString.ToDecimal
|
||||
@@ -9951,14 +9914,15 @@ Partial Class Compras_Compras
|
||||
Dim node As XmlNode
|
||||
node = XMLDoc.SelectSingleNode(String.Format("//{0}:Emisor", Prefijo), namespaces)
|
||||
|
||||
If node IsNot Nothing AndAlso node.ChildNodes.Count > 0 Then
|
||||
If node IsNot Nothing Then
|
||||
EmisorRFC = ValorXML(node, "RFC")
|
||||
EmisorRegimenFiscal = ValorXML(node, "RegimenFiscal")
|
||||
End If
|
||||
|
||||
node = XMLDoc.SelectSingleNode(String.Format("//{0}:CfdiRelacionados", Prefijo), namespaces)
|
||||
node = XMLDoc.SelectSingleNode(String.Format("//{0}:Receptor", Prefijo), namespaces)
|
||||
|
||||
If node IsNot Nothing AndAlso node.ChildNodes.Count > 0 Then
|
||||
If node IsNot Nothing Then
|
||||
ReceptorRFC = ValorXML(node, "RFC")
|
||||
End If
|
||||
|
||||
@@ -18579,7 +18543,7 @@ Partial Class Compras_Compras
|
||||
Dim ObjMovtos As New ClsMovimientos()
|
||||
If ObjMovtos.GetCxPProveedor(CveProveedor, "-1", "-1", -1, -1, -1, -1, -1, -1, -1, -1, "-1", "-1") Then
|
||||
GvFacturaNC.DataSource = ObjMovtos.DtResultados.FiltraParametros("Saldo > 0")
|
||||
TmpCXP = ObjMovtos.DtResultados.FiltraParametros("Saldo > 0")
|
||||
|
||||
End If
|
||||
ObjMovtos.Dispose()
|
||||
GvFacturaNC.DataBind()
|
||||
@@ -21457,6 +21421,32 @@ Partial Class Compras_Compras
|
||||
#End Region
|
||||
|
||||
|
||||
#Region "Gastos de médicos"
|
||||
Protected Sub LnkAddMedico_Click(sender As Object, e As EventArgs)
|
||||
|
||||
'agregar un médico al listado
|
||||
|
||||
Dim trow As DataRow = DTMedicos.NewRow
|
||||
trow("CveMedico") = DdlMedico.SelectedValue
|
||||
trow("Medico") = DdlMedico.SelectedItem.Text
|
||||
DTMedicos.Rows.Add(trow)
|
||||
GvMedicosGastos.DataSource = DTMedicos
|
||||
GvMedicosGastos.DataBind()
|
||||
|
||||
End Sub
|
||||
|
||||
Protected Sub LnkEliminarMedico_Click(sender As Object, e As EventArgs)
|
||||
Dim btn As LinkButton = CType(sender, LinkButton)
|
||||
Dim gvr As GridViewRow = CType(btn.NamingContainer, GridViewRow)
|
||||
|
||||
Dim DTIndex = gvr.RowIndex
|
||||
DTMedicos.Rows(DTIndex).Delete()
|
||||
DTMedicos.AcceptChanges()
|
||||
GvMedicosGastos.DataSource = DTMedicos
|
||||
GvMedicosGastos.DataBind()
|
||||
|
||||
End Sub
|
||||
#End Region
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -574,7 +574,7 @@ Partial Class ContabilidadC_RegPrePolizaS
|
||||
|
||||
Dim CveConceptoContable As Integer = e.Row.DataKey("CveConceptoContable").ToEntero
|
||||
|
||||
If CveConceptoContable.Contiene(1, 2, 12, 91, 13, 38, 207, 203, 39, 61, 62, 63, 4, 278, 291, 292, 293, 294, 272, 150, 251, 301, 3, 11) Then e.Row.FCHyperLink("HlReferencia").NavigateUrl = String.Format("/Ventas/Ventas.aspx?CveVenta={0}", e.Row.DataKey("CveVenta"))
|
||||
If CveConceptoContable.Contiene(1, 2, 12, 91, 13, 38, 207, 203, 39, 61, 62, 63, 4, 278, 291, 292, 293, 294, 272, 150, 251, 301, 3, 11, 296, 227) Then e.Row.FCHyperLink("HlReferencia").NavigateUrl = String.Format("/Ventas/Ventas.aspx?CveVenta={0}", e.Row.DataKey("CveVenta"))
|
||||
If CveConceptoContable.Contiene(5, 6, 17, 18, 14, 19, 25, 26, 60, 205, 225, 234, 235, 237, 240, 305, 306, 307, 308, 309, 310, 311, 312, 201, 206, 323, 324, 341, 342, 343, 344, 304, 272, 259, 287, 288, 370, 371, 372, 373) Then e.Row.FCHyperLink("HlReferencia").NavigateUrl = String.Format("/Compras/Compras.aspx?CveCompra={0}", e.Row.DataKey("CveCompra"))
|
||||
If CveConceptoContable.Contiene(68) Then e.Row.FCHyperLink("HlReferencia").NavigateUrl = String.Format("/Inventarios/EntradasSalidas.aspx?CveMovimiento={0}", e.Row.DBCampo("CveMovimientoAlmacen"))
|
||||
If CveConceptoContable.Contiene(30, 204, 66, 92, 202, 10, 21, 48, 56, 338, 339, 340, 345, 346, 347) Then e.Row.FCHyperLink("HlReferencia").NavigateUrl = String.Format("/Bancos/IE.aspx?CveIE={0}", e.Row.DBCampo("CveIE"))
|
||||
|
||||
@@ -2870,7 +2870,7 @@ Partial Class Inventarios_EntradasSalidas
|
||||
txtCantidad.Enabled = False
|
||||
'DdlClasificacion.Enabled = False
|
||||
DdlProducto2.Enabled = False
|
||||
DdlUnidad.Enabled = False
|
||||
'DdlUnidad.Enabled = False
|
||||
|
||||
'codigo provisional, hay entradas con productos, que al asignar serie, debe de tener e ncantidad = 1
|
||||
If GvRow.DataKey("Cantidad").ToEntero() > 1 Then txtCantidad.Enabled = True
|
||||
|
||||
@@ -4,12 +4,9 @@ Option Explicit On
|
||||
Imports System.Data
|
||||
Imports System.Data.SqlClient
|
||||
Imports System.IO
|
||||
Imports System.Web.Management
|
||||
Imports DocumentFormat.OpenXml.InkML
|
||||
Imports Extensiones
|
||||
Imports Microsoft.Reporting.WebForms
|
||||
Imports MoreLinq
|
||||
Imports Telerik.Web.UI
|
||||
|
||||
|
||||
Partial Class Inventarios_EntregaAlmacen
|
||||
Inherits ClsPaginas
|
||||
@@ -3364,7 +3361,7 @@ Partial Class Inventarios_EntregaAlmacen
|
||||
Msg.AppendFormat("<br/><a class=""Texto"" target='_blank' href=""/Compras/PopUpVerFactura.aspx?P={0}"">Consola</a> ", Encripta(String.Format("OP=Alm&CveMovimiento={0}&Consola={1}", CveMovimiento, Consola)))
|
||||
End If
|
||||
|
||||
If CveMovimientoEntrada > 0 AndAlso Not UsuarioActual.Empresa.Funcionalidad(578).ToEntero = 1 Then
|
||||
If CveMovimientoEntrada > 0 AndAlso Not UsuarioActual.Empresa.Funcionalidad(578) = "1" Then
|
||||
Msg.AppendFormat("<br/><br/> Movimiento Entrada (Traspaso): <b><a href=""/Inventarios/EntradasSalidas.aspx?CveMovimiento={0}"" target=""_blank"">{1}</a></b>", CveMovimientoEntrada, FolioEntrada)
|
||||
Msg.AppendFormat("<br/> <a class=""Texto"" target='_blank' href=""/Compras/PopUpVerFactura.aspx?P={0}"">Imprimir Movimiento</a> ", Encripta(String.Format("OP=Alm&CveMovimiento={0}", CveMovimientoEntrada)))
|
||||
End If
|
||||
@@ -3415,12 +3412,16 @@ Partial Class Inventarios_EntregaAlmacen
|
||||
|
||||
Alert(Msg.ToString(), TipoMensaje.MsgInformacion)
|
||||
|
||||
If UsuarioActual.Empresa.Funcionalidad(578) = "1" Then
|
||||
EnviarCorreoEntregaSMS(CveVentaSurtir, UsuarioActual, CveMovimiento, Folio)
|
||||
End If
|
||||
|
||||
Limpia()
|
||||
CargaPendientes()
|
||||
LimpiaCampos()
|
||||
CargaBitacora = False
|
||||
Else
|
||||
ObjInventario.RollBack()
|
||||
CargaPendientes()
|
||||
LimpiaCampos()
|
||||
CargaBitacora = False
|
||||
Else
|
||||
ObjInventario.RollBack()
|
||||
Alert(TextoError.ToString(), TipoMensaje.MsgError)
|
||||
RegistraScript("playsonidito('142608__autistic-lucario__error.wav')")
|
||||
End If
|
||||
@@ -3958,6 +3959,48 @@ Partial Class Inventarios_EntregaAlmacen
|
||||
MailCls = Nothing
|
||||
End Sub
|
||||
|
||||
Private Sub EnviarCorreoEntregaSMS(tCveVenta As Integer, UsuarioActual As Usuario, tCveMovimiento As Integer, FolioRemision As Integer)
|
||||
'Dim Correo As New ClsSisMail
|
||||
Dim SerieFolio As String = ""
|
||||
Dim Destinatario As String = ""
|
||||
Dim tCveVendedor As Integer
|
||||
Dim ObjVentas As New ClsVentas()
|
||||
|
||||
Dim strBody As New StringBuilder
|
||||
If ObjVentas.GetVenta(tCveVenta, UsuarioActual.CveEmpresa) Then
|
||||
Dim dr As DataRow = ObjVentas.DtResultados.FiltroPrimero("")
|
||||
tCveVendedor = dr("CveVendedor").ToString.ToEntero()
|
||||
Dim CorreoVendedor As String = dr("CorreoVendedorVenta").ToString
|
||||
Dim dtDetalle As New DataTable
|
||||
Dim objInv As New ClsInventarios
|
||||
If objInv.GetMovimientosDetalle(tCveMovimiento, UsuarioActual.CveEmpresa) Then
|
||||
dtDetalle = objInv.DtResultados
|
||||
End If
|
||||
objInv.Dispose()
|
||||
Dim ListMateriales As New List(Of GenericaCantidadProducto)
|
||||
Dim DetalleTable As String = ""
|
||||
For Each dRow As DataRow In dtDetalle.Rows
|
||||
ListMateriales.Add(New GenericaCantidadProducto With {.Cantidad = dRow("Cantidad").ToString.ToEntero, .Producto = dRow("PS").ToString})
|
||||
Next
|
||||
|
||||
Dim tCveOS As Integer = -1
|
||||
Dim FolioOS As String = "-"
|
||||
Dim objOS As New ClsOS
|
||||
If objOS.GetCotizacionOS(CveVentaSurtir) Then
|
||||
tCveOS = objOS.DtResultados.FiltroPrimeroValor("CveOS", "").ToEntero
|
||||
FolioOS = objOS.DtResultados.FiltroPrimeroValor("Folio", "")
|
||||
End If
|
||||
|
||||
objOS.Dispose()
|
||||
' TxtObservaciones.Text = $"Dr. {drE("Medico").ToString}{vbCrLf}Cx. {drE("Procedimiento").ToString}{vbCrLf}F. Cirugía {drE("FechaParaSurtir").ToString.ToDateTime.ToString("dd/MM/yyyy HH:mm")}{vbCrLf}H. {drE("Sucursal").ToString}{vbCrLf}"
|
||||
|
||||
EnviaNotificacionSMS(6, UsuarioActual.Empresa, tCveOS, FolioOS, dr("FechaParaSurtir").ToString.ToDateTime, dr("ClienteNombre").ToString, dr("Medico").ToString, dr("Procedimiento").ToString, "", dr("VendedorNombre").ToString, FolioRemision.ToString, ListMateriales, CorreoVendedor)
|
||||
|
||||
End If
|
||||
ObjVentas.Dispose()
|
||||
|
||||
End Sub
|
||||
|
||||
Private Sub Limpia()
|
||||
|
||||
'DATOS DE LA VENTA
|
||||
@@ -4581,51 +4624,15 @@ Partial Class Inventarios_EntregaAlmacen
|
||||
Dim ObjOS As New ClsOS(TransaccionSql)
|
||||
|
||||
Respuesta = ObjOS.UpdateOrdenesServiciosEstatus(CveOSEstatusFinalizada, UsuarioActual.CveUsuario, CveOSCerrar)
|
||||
|
||||
Dim cancelarPeido As Boolean = CancelarPedido(TransaccionSql, CveMovimientoGenerado, Respuesta)
|
||||
|
||||
If Respuesta Then
|
||||
Dim ObjInventario As New ClsInventarios(TransaccionSql)
|
||||
If ObjInventario.GetMovimientosDetalle(CveMovimientoGenerado, UsuarioActual.CveEmpresa) Then
|
||||
If Not cancelarPeido Then
|
||||
|
||||
|
||||
'Dim DT_Ventas_Detalles As DataTable = DTSolicitudDev.FiltraParametros("", "", {"CantidadPedido", "CvePS", "CveVentaDetalle"})
|
||||
'DT_Ventas_Detalles.Columns.Add("CantidadUsada", GetType(Decimal))
|
||||
'DT_Ventas_Detalles.AcceptChanges()
|
||||
|
||||
'For Each dRow As DataRow In DT_Ventas_Detalles.Rows
|
||||
|
||||
' For Each gvRow As GridViewRow In GvMU.Rows
|
||||
|
||||
' Dim CantidadUsada As Decimal = gvRow.FCTextBox("TxtUtilizado").Text.ToDecimal
|
||||
|
||||
' If dRow("CvePS").ToString.ToDecimal = gvRow.DataKey("CvePS").ToDecimal AndAlso CantidadUsada > 0 Then
|
||||
|
||||
' dRow("CantidadUsada") = dRow("CantidadUsada").ToString.ToDecimal + CantidadUsada
|
||||
|
||||
' End If
|
||||
' Next
|
||||
|
||||
'Next
|
||||
|
||||
'For Each dRow As DataRow In DT_Ventas_Detalles.Rows
|
||||
' Dim CantidadUsada As Decimal = dRow("CantidadUsada").ToString.ToDecimal
|
||||
' If dRow("CantidadUsada").ToString.ToDecimal < dRow("CantidadPedido").ToString.ToDecimal Then
|
||||
' If Not ObjInventario.UpdatePedidoDetalleCantidad(dRow("CveVentaDetalle").ToString.ToEntero, CantidadUsada, 2) Then
|
||||
' ProcesoOK = False
|
||||
' Exit For
|
||||
' End If
|
||||
' End If
|
||||
'Next
|
||||
|
||||
|
||||
|
||||
For Each Dr As DataRow In ObjInventario.DtResultados.Rows
|
||||
|
||||
Dim CveVentaDetalle As Integer = Dr("CveVentaDetalle").ToString().ToEntero()
|
||||
Dim Cantidad As Decimal = Dr("Cantidad").ToString().ToDecimal
|
||||
|
||||
If CveVentaDetalle > 0 Then
|
||||
If Not ObjInventario.UpdatePedidoDetalleCantidad(CveVentaDetalle, Cantidad) Then
|
||||
Respuesta = False
|
||||
@@ -4634,11 +4641,7 @@ Partial Class Inventarios_EntregaAlmacen
|
||||
Else
|
||||
Respuesta = False
|
||||
End If
|
||||
|
||||
Next
|
||||
|
||||
|
||||
|
||||
End If
|
||||
End If
|
||||
End If
|
||||
|
||||
@@ -195,6 +195,7 @@
|
||||
<asp:ListItem Text="No" Value="0" Selected="True"></asp:ListItem>
|
||||
<asp:ListItem Text="Si (Origen)" Value="1"></asp:ListItem>
|
||||
<asp:ListItem Text="Si (Destino)" Value="2"></asp:ListItem>
|
||||
<asp:ListItem Text="Separado(Destino)" Value="3" />
|
||||
</asp:DropDownList>
|
||||
<%--<asp:CheckBox ID="ChkIncluyeTransitorios" runat="server" Checked="false" />--%>
|
||||
</div>
|
||||
@@ -228,11 +229,11 @@
|
||||
</div>
|
||||
<asp:Label runat="server" ID="LblProyectado" Text="Incluir Proyectados" class="col-md-1 truncate" />
|
||||
<div class="col-md-2">
|
||||
<asp:DropDownList ID="DdlProyeccionFiltro" runat="server" CssClass="select2me" Width="100%" >
|
||||
<asp:ListItem Text="Todos (Entradas/Salidas)" Value="3" />
|
||||
<asp:DropDownList ID="DdlProyeccionFiltro" runat="server" CssClass="select2me" Width="100%" >
|
||||
<asp:ListItem Text="Todos (Entradas/Salidas)" Value="3" />
|
||||
<asp:ListItem Text="Entradas" Value="1" />
|
||||
<asp:ListItem Text="Salidas" Value="2" />
|
||||
<asp:ListItem Text="No" Value="0" Selected="True" />
|
||||
<asp:ListItem Text="No" Value="0" Selected="True" />
|
||||
</asp:DropDownList>
|
||||
</div>
|
||||
</asp:Panel>
|
||||
|
||||
@@ -1038,11 +1038,14 @@ Partial Class Inventarios_RecepcionAlmacen
|
||||
' HplCargaExcel.Enabled = True
|
||||
|
||||
|
||||
|
||||
|
||||
Dim CargaSoloUsados As Boolean = False
|
||||
|
||||
If ObjInventario.RecepcionAlmacenGet(pCveCompra, BuscaEntregaDirecta, -1, UsuarioActual.CveEmpresa, UsuarioActual.CveUsuario) AndAlso ObjInventario.DtResultados.Rows.Count > 0 Then
|
||||
Dim DtRecepcion As DataTable = ObjInventario.DtResultados.Copy()
|
||||
DtInv = DtRecepcion
|
||||
|
||||
Dim NumUsados As Integer = ObjInventario.DtResultados.COUNT("EsUsado", "EsUsado = True").ToEntero()
|
||||
Dim NumProductos As Integer = ObjInventario.DtResultados.COUNT("EsUsado", "EsUsado = False").ToEntero()
|
||||
Dim CveSubProyecto As Integer
|
||||
@@ -1093,6 +1096,14 @@ Partial Class Inventarios_RecepcionAlmacen
|
||||
End If
|
||||
End If
|
||||
|
||||
|
||||
If Not UsuarioActual.Empresa.Funcionalidad(531) = "1" Then
|
||||
If ObjCompras.GetCompraDetalle(pCveCompra, UsuarioActual.CveEmpresa) Then
|
||||
TotalCompraOC = ObjCompras.DtResultados.SUM("Total", "CveTipoPS = 2")
|
||||
End If
|
||||
End If
|
||||
|
||||
|
||||
CveSubProyecto = DtRecepcion.Rows(0)("CveSubProyecto").ToString.ToEntero
|
||||
|
||||
CveAlmacenDevolucionProveedor = DtRecepcion.Rows(0)("CveAlmacenDevolucionProveedor").ToString.ToEntero
|
||||
|
||||
@@ -3208,7 +3208,13 @@ Partial Class Inventarios_RecepcionUsados
|
||||
|
||||
CveMarca = GlobalDTPS(UsuarioActual.CveEmpresa, DdlPSAjuste.SelectedValue.ToEntero).FiltroPrimeroValor("CveMarca", "").ToEntero
|
||||
|
||||
Dim dtt As DataTable = GlobalDTAcumGarantiasTipoUsoMeses(UsuarioActual.CveEmpresa, CveMarca, DdlTipoUso.SelectedValue.ToEntero, TxtMesesUso.Text.ToEntero)
|
||||
Dim DtAcumMeses As DataTable = GlobalDTAcumGarantiasTipoUsoMeses(UsuarioActual.CveEmpresa, CveMarca, DdlTipoUso.SelectedValue.ToEntero, TxtMesesUso.Text.ToEntero)
|
||||
Dim Dtt As DataTable = Nothing
|
||||
If DtAcumMeses IsNot Nothing Then
|
||||
''obtener siempre y cuando la fecha de inicio sea mayor
|
||||
Dim strDate As Date = ($"20{TxtEtiqueta.Text.Substring(2, 2)}/{TxtEtiqueta.Text.Substring(0, 2)}/01").ToDate
|
||||
Dtt = DtAcumMeses.FiltraParametros($" #{strDate.ToString("yyyy/MM/dd")}# >= FechaInicioVigencia ", "FechaInicioVigencia DESC")
|
||||
End If
|
||||
|
||||
If dtt IsNot Nothing Then
|
||||
If dtt.Rows.Count > 0 Then
|
||||
|
||||
@@ -7753,25 +7753,23 @@ Partial Class OC_OC
|
||||
TxtRetIVA.Text = TxtRetIVA.Text.FormatoNumero
|
||||
HdnRetIVA.Value = TxtRetIVA.Text
|
||||
|
||||
Dim Porcentaje As Decimal = TxtRetIVA.Text.ToDecimal / DtDetalle.SUMD("Total")
|
||||
Dim IvaTotal As Decimal = DtDetalle.FiltraParametros("IVA > 0").SUMD("Total")
|
||||
|
||||
Dim Porcentaje As Decimal = TxtRetIVA.Text.ToDecimal / IvaTotal
|
||||
Dim LastDr As DataRow = Nothing
|
||||
For Each Dr As DataRow In DtDetalle.Rows
|
||||
'Dr("RetIVA") = (Math.Truncate((Dr("Total").ToString.ToDecimal * Porcentaje) * 100)) / 100
|
||||
Dr("RetIVA") = Math.Round((Dr("Total").ToString.ToDecimal * Porcentaje), 2)
|
||||
'Dr("RetIVA") = Math.Round((Dr("Cantidad").ToString.ToDecimal * Dr("Importe").ToString.ToDecimal * Porcentaje), 2)
|
||||
Dr("RetIVAPorcentaje") = Porcentaje
|
||||
' Tipo Dato '0' es Cuando es Nuevo, '1' para editar y '2' viene de la BD
|
||||
Dr("TipoDato") = If(Dr("TipoDato").ToString.ToEntero = 0, 0, 1)
|
||||
LastDr = Dr
|
||||
Next
|
||||
'If Not IsNothing(LastDr) Then
|
||||
' Dim Fdes As Decimal = TxtRetIVA.Text.ToDecimal - DtDetalle.SUM("RetIVA").ToString.ToDecimal
|
||||
' If Fdes > 0 Then
|
||||
' LastDr("RetIVA") = LastDr("RetIVA").ToString.ToDecimal + Fdes
|
||||
' End If
|
||||
'End If
|
||||
|
||||
'Alert(String.Format("Descuento:{0}", DtDetalle.SUM("Descuento")))
|
||||
If Dr("IVA").ToString.ToDecimal > 0 Then
|
||||
'Dr("RetIVA") = (Math.Truncate((Dr("Total").ToString.ToDecimal * Porcentaje) * 100)) / 100
|
||||
Dr("RetIVA") = Math.Round((Dr("Total").ToString.ToDecimal * Porcentaje), 2)
|
||||
'Dr("RetIVA") = Math.Round((Dr("Cantidad").ToString.ToDecimal * Dr("Importe").ToString.ToDecimal * Porcentaje), 2)
|
||||
Dr("RetIVAPorcentaje") = Porcentaje
|
||||
' Tipo Dato '0' es Cuando es Nuevo, '1' para editar y '2' viene de la BD
|
||||
Dr("TipoDato") = If(Dr("TipoDato").ToString.ToEntero = 0, 0, 1)
|
||||
LastDr = Dr
|
||||
End If
|
||||
|
||||
Next
|
||||
|
||||
CalculaGenerales()
|
||||
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user