◆ CreateFromStream< IStreamableImplmentingClass >() [2/2]

static IStreamableImplmentingClass CreateFromStream< IStreamableImplmentingClass > ( System.IO.BinaryReader  readStream,
params object[]  constructorParams 
)
static
Template Parameters
IStreamableImplmentingClassType of class that is implementing IStreamable. An instance of it will be created then ReadFromStream will be invoked.
Parameters
readStreamStream to read from. This data will fill the newly created object.
constructorParamsthis parameter's array of objects will be passed to the Activator.CreateInstance functions as parameters to T's constructor. No checking is performed to ensure validity before attempting instantiation..
Returns
The newly instantiated, and populated IStreamable object is return
Type Constraints
IStreamableImplmentingClass :IStreamable 

References IStreamable.ReadFromStream().

+ Here is the call graph for this function: