ServiceClientGenerator.ServiceModel.InitializeServiceModel C# (CSharp) Method

InitializeServiceModel() public method

Sets the base json info no matter how the model was constructed
public InitializeServiceModel ( TextReader reader ) : void
reader TextReader The reader to pull the model json from
return void
        void InitializeServiceModel(TextReader reader)
        {
            this.DocumentRoot = JsonMapper.ToObject(reader);
            this._metadata = this.DocumentRoot[MetadataKey];
        }