ClrPlus.Scripting.Languages.PropertySheetV3.Mapping.View.GetMetadataValues C# (CSharp) 메소드

GetMetadataValues() 공개 메소드

public GetMetadataValues ( string metadataName, IValueContext context, bool checkParent = true ) : IEnumerable
metadataName string
context IValueContext
checkParent bool
리턴 IEnumerable
        public IEnumerable<string> GetMetadataValues(string metadataName, IValueContext context, bool checkParent = true)
        {
            return Metadata.ContainsKey(metadataName) ? Metadata[metadataName].GetValues(context) : (ParentView == null || checkParent == false) ? Enumerable.Empty<string>() : ParentView.GetMetadataValues(metadataName, context);
        }