ServiceClientGenerator.CustomizationsModel.GetSubstituteShapeData C# (CSharp) Method

GetSubstituteShapeData() public method

Returns the substitution entry for a shape
public GetSubstituteShapeData ( string originalShapeName ) : JsonData
originalShapeName string
return JsonData
        public JsonData GetSubstituteShapeData(string originalShapeName)
        {
            var substitutionsData = _documentRoot[ShapeSubstitutionsKey];
            if (substitutionsData == null)
                return null;

            return substitutionsData[originalShapeName];
        }