A Sandcastle Documented Class Library

# ModelDataExtensions ConvertAndCopyReadOnlyDictionaryToList Method (IReadOnlyDictionary Guid, RestoreFailureReason , IList RestoreFailureDetailData )

Converts the IReadOnlyDictionary
TKey, TValue
and copies to a list of RestoreFailureDetailData.

Namespace: Dundas.BI.WebApi.Models
Assembly: Dundas.BI.WebApi (in Dundas.BI.WebApi.dll) Version: 2.0.0.0 (10.0.0.1002)
Syntax
C#
VB
C++
F#
Copy

    public static void ConvertAndCopyReadOnlyDictionaryToList(
    	this IReadOnlyDictionary<Guid, RestoreFailureReason> source,
    	IList<RestoreFailureDetailData> destination
    )

    <ExtensionAttribute>
    Public Shared Sub ConvertAndCopyReadOnlyDictionaryToList (
    	source As IReadOnlyDictionary(Of Guid, RestoreFailureReason),
    	destination As IList(Of RestoreFailureDetailData)
    )

    public:
    [ExtensionAttribute]
    static void ConvertAndCopyReadOnlyDictionaryToList(
    	IReadOnlyDictionary<Guid, RestoreFailureReason>^ source,
    	IList<RestoreFailureDetailData^>^ destination
    )

    [<ExtensionAttribute>]
    static member ConvertAndCopyReadOnlyDictionaryToList :
            source : IReadOnlyDictionary<Guid, RestoreFailureReason> *
            destination : IList<RestoreFailureDetailData> -> unit

#### Parameters

source
  Type: System.Collections.Generic
  IReadOnlyDictionary
  Guid, RestoreFailureReason
  The source.
destination
  Type: System.Collections.Generic
  IList
  RestoreFailureDetailData
  The destination.

#### Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IReadOnlyDictionary
Guid, RestoreFailureReason
. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also

#### Reference

ModelDataExtensions Class
ConvertAndCopyReadOnlyDictionaryToList Overload
Dundas.BI.WebApi.Models Namespace