36 references to GetOrDefault
Microsoft.DotNet.VersionTools (36)
BuildManifest\Model\BlobArtifactModel.cs (5)
23
get { return Attributes.
GetOrDefault
(nameof(Id)); }
31
string val = Attributes.
GetOrDefault
(nameof(NonShipping));
42
get => Attributes.
GetOrDefault
(nameof(RepoOrigin));
66
if (other.Attributes.
GetOrDefault
(localAttr.Key) != null)
72
other.Attributes.
GetOrDefault
(localAttr.Key),
BuildManifest\Model\BuildIdentity.cs (9)
39
get { return Attributes.
GetOrDefault
(nameof(Name)); }
45
get { return Attributes.
GetOrDefault
(nameof(BuildId)); }
51
get { return Attributes.
GetOrDefault
(nameof(ProductVersion)); }
57
get { return Attributes.
GetOrDefault
(nameof(Branch)); }
63
get { return Attributes.
GetOrDefault
(nameof(Commit)); }
71
string value = Attributes.
GetOrDefault
(nameof(IsStable));
93
string value = Attributes.
GetOrDefault
(nameof(IsReleaseOnlyPackageVersion));
113
get { return Attributes.
GetOrDefault
(nameof(VersionStamp)); }
120
string value = Attributes.
GetOrDefault
(nameof(PublishingVersion));
BuildManifest\Model\EndpointModel.cs (3)
27
get { return Attributes.
GetOrDefault
(nameof(Id)); }
33
get { return Attributes.
GetOrDefault
(nameof(Type)); }
39
get { return Attributes.
GetOrDefault
(nameof(Url)); }
BuildManifest\Model\PackageArtifactModel.cs (7)
29
get { return Attributes.
GetOrDefault
(nameof(Id)); }
35
get { return Attributes.
GetOrDefault
(nameof(Version)); }
41
get { return Attributes.
GetOrDefault
(nameof(OriginBuildName)); }
49
string val = Attributes.
GetOrDefault
(nameof(NonShipping));
60
get => Attributes.
GetOrDefault
(nameof(RepoOrigin));
84
if (other.Attributes.
GetOrDefault
(localAttr.Key) != null)
90
other.Attributes.
GetOrDefault
(localAttr.Key),
BuildManifest\Model\SigningInformationModel.cs (12)
90
get { return Attributes.
GetOrDefault
(nameof(Include)); }
96
get { return Attributes.
GetOrDefault
(nameof(CertificateName)); }
126
get { return Attributes.
GetOrDefault
(nameof(Include)); }
132
get { return Attributes.
GetOrDefault
(nameof(CertificateName)); }
138
get { return Attributes.
GetOrDefault
(nameof(TargetFramework)); }
144
get { return Attributes.
GetOrDefault
(nameof(PublicKeyToken)); }
175
get { return Attributes.
GetOrDefault
(nameof(Include)); }
181
get { return bool.Parse(Attributes.
GetOrDefault
(nameof(DualSigningAllowed))); }
211
get { return Attributes.
GetOrDefault
(nameof(Include)); }
242
get { return Attributes.
GetOrDefault
(nameof(Include)); }
247
get { return Attributes.
GetOrDefault
(nameof(PublicKeyToken)); }
252
get { return Attributes.
GetOrDefault
(nameof(CertificateName)); }