Quantcast
Channel: Community | MonoGame - Latest topics
Viewing all articles
Browse latest Browse all 6821

Custom ContentTypeReader: existingInstance

$
0
0

@gotji wrote:

Can someone explain usage of parameter ‘exisitng instance’ of this method:

public abstract class ContentTypeReader<T> : ContentTypeReader {
    protected internal abstract T Read(ContentReader input, T existingInstance);
}

I’ve several custom content readers in my project but I never use this parameter and it’s always null. I can’t find any info online(MSDN page for this method returns 404).

Posts: 2

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 6821

Trending Articles