30 references to Attribute
System.Data.Services (30)
System\Data\Services\Epm\EpmContentDeSerializerBase.cs (2)
92
if (!targetSegment.EpmInfo.
Attribute
.KeepInContent)
94
return propertiesApplied.Lookup(targetSegment.EpmInfo.
Attribute
.SourcePath);
System\Data\Services\Epm\EpmContentSerializer.cs (1)
150
foreach (var segment in epmInfo.
Attribute
.SourcePath.Split('/'))
System\Data\Services\Epm\EpmSourceTree.cs (2)
68
String sourceName = epmInfo.
Attribute
.SourcePath;
105
throw new InvalidOperationException(Strings.EpmSourceTree_DuplicateEpmAttrsWithSameSourceName(epmInfo.
Attribute
.SourcePath, epmInfo.DefiningType.Name));
System\Data\Services\Epm\EpmSyndicationContentDeSerializer.cs (1)
53
switch (newRoot.EpmInfo.
Attribute
.TargetSyndicationItem)
System\Data\Services\Epm\EpmSyndicationContentSerializer.cs (3)
106
TextSyndicationContentKind contentKind = (TextSyndicationContentKind)epmInfo.
Attribute
.TargetTextContentKind;
108
switch (epmInfo.
Attribute
.TargetSyndicationItem)
126
this.SetContributorProperty(epmInfo.
Attribute
.TargetSyndicationItem, textPropertyValue);
System\Data\Services\Epm\EpmTargetTree.cs (17)
70
String targetName = epmInfo.
Attribute
.TargetPath;
71
bool isSyndication = epmInfo.
Attribute
.TargetSyndicationItem != SyndicationItemProperty.CustomProperty;
72
String namespaceUri = epmInfo.
Attribute
.TargetNamespaceUri;
73
String namespacePrefix = epmInfo.
Attribute
.TargetNamespacePrefix;
121
throw new ArgumentException(Strings.EpmTargetTree_DuplicateEpmAttrsWithSameTargetName(EpmTargetTree.GetPropertyNameFromEpmInfo(currentSegment.EpmInfo), currentSegment.EpmInfo.DefiningType.Name, currentSegment.EpmInfo.
Attribute
.SourcePath, epmInfo.
Attribute
.SourcePath));
125
if (!epmInfo.
Attribute
.KeepInContent)
145
String targetName = epmInfo.
Attribute
.TargetPath;
146
bool isSyndication = epmInfo.
Attribute
.TargetSyndicationItem != SyndicationItemProperty.CustomProperty;
147
String namespaceUri = epmInfo.
Attribute
.TargetNamespaceUri;
188
if (!currentSegment.EpmInfo.
Attribute
.KeepInContent)
235
if (epmInfo.
Attribute
.TargetSyndicationItem != SyndicationItemProperty.CustomProperty)
237
return System.Data.Services.Providers.ObjectContextServiceProvider.MapSyndicationPropertyToEpmTargetPath(epmInfo.
Attribute
.TargetSyndicationItem);
241
return epmInfo.
Attribute
.TargetPath;
247
if (epmInfo.
Attribute
.TargetSyndicationItem != SyndicationItemProperty.CustomProperty)
249
return epmInfo.
Attribute
.TargetSyndicationItem.ToString();
253
return epmInfo.
Attribute
.TargetPath;
System\Data\Services\Providers\ResourceType.cs (2)
746
if (currentSegment.EpmInfo.
Attribute
.KeepInContent == false)
749
currentSegment.EpmInfo.
Attribute
.SourcePath.Split('/'),
System\Data\Services\Serializers\SyndicationSerializer.cs (2)
366
Debug.Assert(epmProperty.EpmInfo.
Attribute
!= null, "Attribute should always be initialized for EpmInfo.");
367
if (epmProperty.EpmInfo.
Attribute
.KeepInContent == false)