ServiceClientGenerator.CustomizationsModel.IsSubstitutedShape C# (CSharp) Метод

IsSubstitutedShape() публичный Метод

Determines if the shape should be substituted with another
public IsSubstitutedShape ( string originalShapeName ) : bool
originalShapeName string The original shape
Результат bool
        public bool IsSubstitutedShape(string originalShapeName)
        {
            var substitutionsData = _documentRoot[ShapeSubstitutionsKey];
            if (substitutionsData == null)
                return false;

            var remapShape = substitutionsData[originalShapeName] as JsonData;
            return remapShape != null;
        }