EntityTemplate Constructors

Definition

Overloads

Name Description
EntityTemplate(IContentProducer)

Creates an entity that delegates content generation to a producer.

EntityTemplate(IntPtr, JniHandleOwnership)

A constructor used when creating managed representations of JNI objects; called by the runtime.

EntityTemplate(IContentProducer)

Creates an entity that delegates content generation to a producer.

[Android.Runtime.Register(".ctor", "(Lorg/apache/http/entity/ContentProducer;)V", "")]
public EntityTemplate(Org.Apache.Http.Entity.IContentProducer? contentproducer);
[<Android.Runtime.Register(".ctor", "(Lorg/apache/http/entity/ContentProducer;)V", "")>]
new Org.Apache.Http.Entity.EntityTemplate : Org.Apache.Http.Entity.IContentProducer -> Org.Apache.Http.Entity.EntityTemplate

Parameters

contentproducer
IContentProducer

The producer that writes the entity content.

Attributes

Remarks

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to

EntityTemplate(IntPtr, JniHandleOwnership)

A constructor used when creating managed representations of JNI objects; called by the runtime.

protected EntityTemplate(IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Org.Apache.Http.Entity.EntityTemplate : nativeint * Android.Runtime.JniHandleOwnership -> Org.Apache.Http.Entity.EntityTemplate

Parameters

javaReference
IntPtr

nativeint

A IntPtrcontaining a Java Native Interface (JNI) object reference.

transfer
JniHandleOwnership

A JniHandleOwnershipindicating how to handle javaReference

Remarks

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to