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;
        }