79 references to Shared
System.Web (79)
UI\WebParts\BlobPersonalizationState.cs (14)
147
if (PersonalizationScope == PersonalizationScope.
Shared
) {
210
properties, PersonalizationScope.
Shared
);
297
properties, PersonalizationScope.
Shared
);
360
extractScope = PersonalizationScope.
Shared
;
533
(bool)items[offset++] ? PersonalizationScope.
Shared
: PersonalizationScope.User;
750
if (PersonalizationScope == PersonalizationScope.
Shared
) {
775
extractScope = PersonalizationScope.
Shared
;
840
if (ignoreSharedProperties && (property.Scope == PersonalizationScope.
Shared
)) {
885
if (PersonalizationScope == PersonalizationScope.
Shared
) {
944
if (PersonalizationScope == PersonalizationScope.
Shared
&& hasSharedCustomProperties) {
984
if (PersonalizationScope == PersonalizationScope.
Shared
) {
1069
items.Add(personalizationEntry.Scope == PersonalizationScope.
Shared
);
1132
return SetPersonalizedProperties(control, personalizableProperties, propertyState, PersonalizationScope.
Shared
);
1162
(scope == PersonalizationScope.
Shared
|| property.Scope == PersonalizationScope.User)) {
UI\WebParts\ImportCatalogPart.cs (1)
214
bool isShared = (WebPartManager.Personalization.Scope == PersonalizationScope.
Shared
);
UI\WebParts\PersonalizableAttribute.cs (2)
45
public static readonly PersonalizableAttribute SharedPersonalizable = new PersonalizableAttribute(PersonalizationScope.
Shared
);
197
(propEntry.Scope == PersonalizationScope.
Shared
)) {
UI\WebParts\PersonalizationAdministration.cs (4)
112
count += ResetStatePrivate(PersonalizationScope.
Shared
, sharedPathsArray, null);
120
int count = ResetStatePrivate(PersonalizationScope.
Shared
, paths, null);
130
return ResetStatePrivate(PersonalizationScope.
Shared
, paths, null);
281
return FindStatePrivate(PersonalizationScope.
Shared
, stateQuery, pageIndex, pageSize, out totalRecords);
UI\WebParts\PersonalizationDictionary.cs (1)
116
if (((PersonalizationEntry)entry.Value).Scope == PersonalizationScope.
Shared
) {
UI\WebParts\PersonalizationEntry.cs (1)
32
if (value < PersonalizationScope.User || value > PersonalizationScope.
Shared
) {
UI\WebParts\PersonalizationProvider.cs (5)
83
scope = PersonalizationScope.
Shared
;
89
scope = PersonalizationScope.
Shared
;
108
scope = (page.IsExportingWebPartShared ? PersonalizationScope.
Shared
: PersonalizationScope.User);
111
if ((scope == PersonalizationScope.
Shared
) &&
117
string fieldValue = (scope == PersonalizationScope.
Shared
) ? sharedScopeFieldValue : userScopeFieldValue;
UI\WebParts\PersonalizationProviderHelper.cs (2)
122
if (scope < PersonalizationScope.User || scope > PersonalizationScope.
Shared
) {
130
"usernames", "scope", PersonalizationScope.
Shared
.ToString()));
UI\WebParts\SqlPersonalizationProvider.cs (5)
166
if (scope == PersonalizationScope.
Shared
) {
356
if (scope == PersonalizationScope.
Shared
) {
649
parameter.Value = (scope == PersonalizationScope.
Shared
);
680
resultCount = ResetAllState(PersonalizationScope.
Shared
);
759
if (scope == PersonalizationScope.
Shared
) {
UI\WebParts\WebPart.cs (15)
93
Personalizable(PersonalizationScope.
Shared
),
109
Personalizable(PersonalizationScope.
Shared
),
129
Personalizable(PersonalizationScope.
Shared
),
147
Personalizable(PersonalizationScope.
Shared
),
166
Personalizable(PersonalizationScope.
Shared
),
185
Personalizable(PersonalizationScope.
Shared
),
201
Personalizable(PersonalizationScope.
Shared
),
220
Personalizable(PersonalizationScope.
Shared
),
288
Personalizable(PersonalizationScope.
Shared
),
338
Personalizable(PersonalizationScope.
Shared
),
401
Personalizable(PersonalizationScope.
Shared
),
425
Personalizable(PersonalizationScope.
Shared
),
486
Personalizable(PersonalizationScope.
Shared
),
569
Personalizable(PersonalizationScope.
Shared
),
588
Personalizable(PersonalizationScope.
Shared
),
UI\WebParts\WebPartChrome.cs (1)
64
_personalizationScope = PersonalizationScope.
Shared
;
UI\WebParts\WebPartManager.cs (23)
910
Internals.SetIsShared(newWebPart, Personalization.Scope == PersonalizationScope.
Shared
);
1712
Internals.SetIsShared(connection, Personalization.Scope == PersonalizationScope.
Shared
);
2136
!(Personalization.Scope == PersonalizationScope.
Shared
));
2159
IDictionary propBag = PersonalizableAttribute.GetPersonalizablePropertyValues(webPart, PersonalizationScope.
Shared
, excludeSensitive);
2172
PersonalizationScope.
Shared
,
2254
(Personalization.Scope == PersonalizationScope.
Shared
||
2417
(Personalization.Scope == PersonalizationScope.
Shared
) ? "&scope=shared" : String.Empty;
2746
bool isShared = (Personalization.Scope == PersonalizationScope.
Shared
);
3127
String.Equals(scope, PersonalizationScope.
Shared
.ToString(), StringComparison.OrdinalIgnoreCase) ?
3128
PersonalizationScope.
Shared
: PersonalizationScope.User;
3323
Internals.SetIsShared(connection, (entry.Scope == PersonalizationScope.
Shared
));
3452
bool isShared = (entry.Scope == PersonalizationScope.
Shared
);
3896
(Personalization.Scope == PersonalizationScope.
Shared
? "true" : "false"),
4035
if (scope == PersonalizationScope.
Shared
) {
4037
new PersonalizationEntry(webPartState, PersonalizationScope.
Shared
);
4050
(scope == PersonalizationScope.
Shared
&& webPart.IsShared))) {
4104
if (scope == PersonalizationScope.
Shared
) {
4106
new PersonalizationEntry(dynamicWebPartState, PersonalizationScope.
Shared
);
4143
if (scope == PersonalizationScope.
Shared
) {
4145
new PersonalizationEntry(deletedConnectionsState, PersonalizationScope.
Shared
);
4157
((scope == PersonalizationScope.
Shared
) && (connection.IsShared))) {
4185
if (scope == PersonalizationScope.
Shared
) {
4187
new PersonalizationEntry(dynamicConnectionState, PersonalizationScope.
Shared
);
UI\WebParts\WebPartPersonalization.cs (5)
145
if ((value < PersonalizationScope.User) || (value > PersonalizationScope.
Shared
)) {
324
if ((scope == PersonalizationScope.
Shared
) && (!CanEnterSharedScope)) {
464
info.Properties = BlobPersonalizationState.GetPersonalizedProperties(control, PersonalizationScope.
Shared
);
639
if (_currentScope == PersonalizationScope.
Shared
) {
643
ChangeScope(PersonalizationScope.
Shared
);