2 implementations of IElementsMarshallingCollectionSource
Microsoft.Interop.SourceGeneration (2)
Marshalling\StatefulMarshallingStrategy.cs (1)
138
internal sealed class StatefulLinearCollectionSource(TypePositionInfo info, StubCodeContext codeContext) :
IElementsMarshallingCollectionSource
Marshalling\StatelessMarshallingStrategy.cs (1)
269
internal sealed class StatelessLinearCollectionSource(TypePositionInfo info, StubCodeContext codeContext, string marshallerType) :
IElementsMarshallingCollectionSource
9 references to IElementsMarshallingCollectionSource
Microsoft.Interop.SourceGeneration (9)
Marshalling\AttributedMarshallingModelGeneratorResolver.cs (3)
245
IElementsMarshallingCollectionSource
collectionSource = new StatefulLinearCollectionSource(info, context);
271
IElementsMarshallingCollectionSource
collectionSource = new StatelessLinearCollectionSource(info, context, marshallerTypeName);
360
private static ElementsMarshalling CreateElementsMarshalling(CustomTypeMarshallerData marshallerData, IBoundMarshallingGenerator elementMarshaller, string unmanagedElementType,
IElementsMarshallingCollectionSource
collectionSource)
Marshalling\ElementsMarshalling.cs (6)
28
protected
IElementsMarshallingCollectionSource
CollectionSource { get; }
30
protected ElementsMarshalling(
IElementsMarshallingCollectionSource
collectionSource)
81
public static void GenerateNumElementsAssignmentFromManagedValuesSource(this
IElementsMarshallingCollectionSource
source, IndentedTextWriter writer, TypePositionInfo info, StubIdentifierContext context)
87
public static void GenerateNumElementsAssignmentFromManagedValuesDestination(this
IElementsMarshallingCollectionSource
source, IndentedTextWriter writer, TypePositionInfo info, StubIdentifierContext context)
100
IElementsMarshallingCollectionSource
collectionSource) : ElementsMarshalling(collectionSource)
151
IElementsMarshallingCollectionSource
collectionSource) : ElementsMarshalling(collectionSource)