CardRendererRegistrationCardRendererRegistration

public class CardRendererRegistration : Java.Lang.Object

NamespaceNamespace

namespace AdaptiveCards.Rendering.Xamarin.Android.Renderer.Registration

RécapitulatifSummary

Méthodes publiquesPublic methods
void RegisterFeatureRegistration (FeatureRegistration featureRegistration)

Méthodes publiquesPublic Methods


RegisterFeatureRegistrationRegisterFeatureRegistration

Ajouté dans la version 0.1.0Added in version 0.1.0

public void RegisterFeatureRegistration (FeatureRegistration featureRegistration)

Inscrit un objet FeatureRegistration pour le convertisseur de carte à utiliser.Registers a FeatureRegistration object for the card renderer to use.

ParamètresParameters
featureRegistrationfeatureRegistration AdaptiveCards.Rendering.Xamarin.Android.ObjectModel.FeatureRegistration

ExempleSample

FeatureRegistration featureRegistration = new FeatureRegistration();
featureRegistration.AddFeature("MyFeature", "1.2.0");
CardRendererRegistration.Instance.RegisterFeatureRegistration(featureRegistration);