Skip to content

Commit

Permalink
The constructors of "AnalyticsDimension" and "AnalyticsMetric" are no…
Browse files Browse the repository at this point in the history
…w public

This allows develoeprs to initializes new dimensions and metrics that are not currently supported in Skybrud.Social
  • Loading branch information
abjerner committed Dec 21, 2016
1 parent 551d207 commit 3bbdbd1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,7 @@ from property in typeof(AnalyticsDimension).GetFields(BindingFlags.Public | Bind

#region Constructor

private AnalyticsDimension(string name) {
public AnalyticsDimension(string name) {
Name = name;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -479,16 +479,16 @@ from property in typeof(AnalyticsMetric).GetFields(BindingFlags.Public | Binding

#region Constructor

private AnalyticsMetric(string name) {
public AnalyticsMetric(string name) {
Name = name;
}

private AnalyticsMetric(string name, string groupName) {
public AnalyticsMetric(string name, string groupName) {
Name = name;
GroupName = groupName;
}

private AnalyticsMetric(string name, string groupName, bool obsolete) {
public AnalyticsMetric(string name, string groupName, bool obsolete) {
Name = name;
GroupName = groupName;
IsObsolete = obsolete;
Expand Down

0 comments on commit 3bbdbd1

Please sign in to comment.