Skip to content

Commit 5bb9681

Browse files
committed
* Alterado setters da classe EnderecoServico para private, já que por enquanto nenhuma classe herda dela.
1 parent 1e9fc38 commit 5bb9681

File tree

2 files changed

+9
-8
lines changed

2 files changed

+9
-8
lines changed

NFe.Servicos/Enderecador.cs

+7-7
Original file line numberDiff line numberDiff line change
@@ -57,13 +57,13 @@ public EnderecoServico(ServicoNFe servicoNFe, VersaoServico versaoServico, TipoA
5757
ModeloDocumento = modeloDocumento;
5858
}
5959

60-
public ServicoNFe ServicoNFe { get; protected set; }
61-
public VersaoServico VersaoServico { get; protected set; }
62-
public TipoAmbiente TipoAmbiente { get; protected set; }
63-
public TipoEmissao TipoEmissao { get; protected set; }
64-
public Estado Estado { get; protected set; }
65-
public ModeloDocumento ModeloDocumento { get; protected set; }
66-
public string Url { get; protected set; }
60+
public ServicoNFe ServicoNFe { get; private set; }
61+
public VersaoServico VersaoServico { get; private set; }
62+
public TipoAmbiente TipoAmbiente { get; private set; }
63+
public TipoEmissao TipoEmissao { get; private set; }
64+
public Estado Estado { get; private set; }
65+
public ModeloDocumento ModeloDocumento { get; private set; }
66+
public string Url { get; private set; }
6767
}
6868

6969

Zeus NFe.sln.DotSettings

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
<wpf:ResourceDictionary xml:space="preserve" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:s="clr-namespace:System;assembly=mscorlib" xmlns:ss="urn:shemas-jetbrains-com:settings-storage-xaml" xmlns:wpf="http://schemas.microsoft.com/winfx/2006/xaml/presentation">
22
<s:Boolean x:Key="/Default/CodeInspection/CodeAnnotations/NamespacesWithAnnotations/=NFe_002EClasses_002EAnnotations/@EntryIndexedValue">True</s:Boolean>
3-
<s:Boolean x:Key="/Default/CodeInspection/CodeAnnotations/NamespacesWithAnnotations/=NFe_002EServicos_002EAnnotations/@EntryIndexedValue">True</s:Boolean></wpf:ResourceDictionary>
3+
<s:Boolean x:Key="/Default/CodeInspection/CodeAnnotations/NamespacesWithAnnotations/=NFe_002EServicos_002EAnnotations/@EntryIndexedValue">True</s:Boolean>
4+
<s:String x:Key="/Default/CodeInspection/Highlighting/InspectionSeverities/=AutoPropertyCanBeMadeGetOnly_002EGlobal/@EntryIndexedValue">DO_NOT_SHOW</s:String></wpf:ResourceDictionary>

0 commit comments

Comments
 (0)