2using System.Collections.Generic;
3using System.Runtime.Serialization;
15 [IgnoreDataMember, InternalMember]
19 [IgnoreDataMember, InternalMember]
20 [Obsolete(
"This property has the potentially unexpected side-effect of resolving the " +
21 "reference (an expensive network operation) if it is not already resolved. " +
22 "Use the more explicit GetValue() or Resolve() methods instead.")]
26 [IgnoreDataMember, InternalMember]
31 [IgnoreDataMember, InternalMember]
48 T
GetValue(IEnumerable<Parameter> requestParameters =
null,
50 bool updateCache =
false);
66 void Resolve(IEnumerable<Parameter> requestParameters =
null,
68 bool updateCache =
false);
Interface for Base class used by all resources.
Base interface for all reference entities.
void Resolve(IEnumerable< Parameter > requestParameters=null, int? timeout=null, bool updateCache=false)
Resolve this reference by retrieving the referenced object. If this reference is already resolved,...
Type ResourceType
Returns the runtime type of resource this reference refers to, or the generic type parameter T if un...
string CollectionName
The name of the collection at which this resource resides.
bool resolved
Indicates whether the reference has been resolved and the value is available.
T Value
Returns the resolved object being referred to.
T GetValue(IEnumerable< Parameter > requestParameters=null, int? timeout=null, bool updateCache=false)
Gets the resource that this reference refers to by requesting it from the server.