示例#1
0
 /// <summary>
 /// Constructs an instance of <see cref="ODataResourceMetadataContextWithoutModel"/>.
 /// </summary>
 /// <param name="resource">The resource instance.</param>
 /// <param name="typeContext">The context object to answer basic questions regarding the type of the resource.</param>
 /// <param name="serializationInfo">The serialization info of the resource for writing without model.</param>
 internal ODataResourceMetadataContextWithoutModel(ODataResourceBase resource, IODataResourceTypeContext typeContext, ODataResourceSerializationInfo serializationInfo)
     : base(resource, typeContext)
 {
     Debug.Assert(serializationInfo != null, "serializationInfo != null");
     this.serializationInfo = serializationInfo;
 }