public OrganizationDirectoryPathProvider( IOrganizationsDirectoryPathProvider organizationsDirectoryPathProvider, IOrganizationProvider organizationProvider, IOrganizationDirectoryNameConvention organizationDirectoryNameConvention, IStringlyTypedPathOperator stringlyTypedPathOperator) { this.OrganizationsDirectoryPathProvider = organizationsDirectoryPathProvider; this.OrganizationProvider = organizationProvider; this.OrganizationDirectoryNameConvention = organizationDirectoryNameConvention; this.StringlyTypedPathOperator = stringlyTypedPathOperator; }
public static string GetOrganizationDirectoryName(this IOrganizationDirectoryNameConvention convention, IOrganization organization) { var organizationDirectoryName = convention.GetOrganizationDirectoryName(organization.Name); return(organizationDirectoryName); }