YAMP.ParseContext.GetDefaultProperties C# (CSharp) Method

GetDefaultProperties() public method

Gets the key value pairs of the specified bin.
public GetDefaultProperties ( String binName ) : Value>.ReadOnlyDictionary
binName String The name of the template bin.
return 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>();
        }