1 write to ElementType
System.Data.Services.Client (1)
System\Data\Services\Client\ClientType.cs (1)
85
this.
ElementType
= Nullable.GetUnderlyingType(type) ?? type;
18 references to ElementType
System.Data.Services.Client (18)
System\Data\Services\Client\AtomMaterializer.cs (9)
647
else if (!resultType.IsAssignableFrom(entry.ActualType.
ElementType
))
651
entry.ActualType.
ElementType
.FullName,
1216
knownType = ClientConvert.IsKnownType(nestedElementType.
ElementType
);
1236
value = ClientConvert.ChangeType(propertyValueText, (null != nestedElementType ? nestedElementType.
ElementType
: underlyingType));
1316
ClientConvert.IsKnownType(MaterializeAtom.GetEntryClientType(property.TypeName, context, prop.PropertyType, true).
ElementType
))
1698
this.ResolveByCreatingWithType(entry, actualType.
ElementType
);
1781
this.Materialize(feedEntry, collectionType.
ElementType
, includeLinks);
1812
if (!collectionType.
ElementType
.IsAssignableFrom(item.GetType()))
1816
collectionType.
ElementType
.FullName);
System\Data\Services\Client\ClientType.cs (5)
89
if (!ClientConvert.IsKnownType(this.
ElementType
))
639
return Activator.CreateInstance(this.
ElementType
);
751
MimeTypePropertyAttribute attribute = (MimeTypePropertyAttribute)this.
ElementType
.GetCustomAttributes(typeof(MimeTypePropertyAttribute), true).SingleOrDefault();
773
object[] attributes = this.
ElementType
.GetCustomAttributes(typeof(MediaEntryAttribute), true);
791
attributes = this.
ElementType
.GetCustomAttributes(typeof(HasStreamAttribute), true);
System\Data\Services\Client\DataServiceContext.cs (4)
1441
if (!propertyElementType.
ElementType
.IsAssignableFrom(childType.
ElementType
))
3345
string typeName = this.ResolveNameFromType(nested.
ElementType
);
3513
if ((null != target) && !type.
ElementType
.IsInstanceOfType(target))