/// <summary> /// Gets the configuration options for this plug-in. /// </summary> /// <param name="AttrBuilder">The helper classes used to build the options.</param> /// <returns>An instance of the object returned by AttrBuilder.NewScope() populated with options.</returns> public object GetConfig(AgAttrBuilder AttrBuilder) { //If this is the first time, we need to create the options //which we will then cache for future use. if (m_options == null) { m_options = AttrBuilder.NewScope(); //Expose a string option for the filename AttrBuilder.AddStringDispatchProperty(m_options, "Filename", "Filename", "Filename", (int)AgEAttrAddFlags.eAddFlagNone); //Serialized version of m_settings AttrBuilder.AddMultiLineStringDispatchProperty(m_options, "Settings", "Settings", "Settings", (int)AgEAttrAddFlags.eAddFlagNone); } return(m_options); }