YAMP.ParseContext.GetDefaultProperties C# (CSharp) 메소드

GetDefaultProperties() 공개 메소드

Gets the key value pairs of the specified bin.
public GetDefaultProperties ( String binName ) : Value>.ReadOnlyDictionary
binName String The name of the template bin.
리턴 Value>.ReadOnlyDictionary
        public ReadOnlyDictionary<String, Value> GetDefaultProperties(String binName)
        {
            if(_defaultProperties.ContainsKey(binName))
                return new ReadOnlyDictionary<String, Value>(_defaultProperties[binName]);

            return new ReadOnlyDictionary<String, Value>();
        }