Skip to content

Instantly share code, notes, and snippets.

@dontpaniclabsgists
Created August 25, 2017 16:02
Show Gist options
  • Save dontpaniclabsgists/28a48b0da1da2b6cb817221e4b2964b5 to your computer and use it in GitHub Desktop.
Save dontpaniclabsgists/28a48b0da1da2b6cb817221e4b2964b5 to your computer and use it in GitHub Desktop.
azure_functions_4_4
public class AccessorFactory
{
    public string _endpoint;
    public string _key;
    public AccessorFactory(string endpoint, string key)
    {
        _endpoint = endpoint;
        _key = key;
    }
    public IWardrobeAccessor CreateWardrobeAccessor()
    {
        WardrobeAccessor accessor = new WardrobeAccessor(_endpoint, _key);
        return accessor;
    }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment