Share via


VsTextTemplatingModelingAdapterManager.GetAdapterReferenceStoreKey Method

Definition

Given an AdapterReference, provide a key that uniquely represents the Store that should be used for loading/dereferencing it. The base implementation uses the absolute path of the modelfile represented by the reference for the simple built in DSL structure. Another exmaple might be a designer that loads many model files in a project into various Partitions in the same Store in which case a string that represents the project might be returned.

protected virtual string GetAdapterReferenceStoreKey (Microsoft.VisualStudio.Modeling.Integration.ModelingAdapterReference adapterReference);
abstract member GetAdapterReferenceStoreKey : Microsoft.VisualStudio.Modeling.Integration.ModelingAdapterReference -> string
override this.GetAdapterReferenceStoreKey : Microsoft.VisualStudio.Modeling.Integration.ModelingAdapterReference -> string
Protected Overridable Function GetAdapterReferenceStoreKey (adapterReference As ModelingAdapterReference) As String

Parameters

adapterReference
Microsoft.VisualStudio.Modeling.Integration.ModelingAdapterReference

Returns

Applies to