Esempio n. 1
0
        public IncludeParameter CreateIncludeParameter(string resource, string key, string value)
        {
            IncludeParameter p = new IncludeParameter();

            p.Strain         = Strain.Meta;
            p.TargetResource = value.Split('.').First();
            p.TargetField    = value.Split('.').Last();
            return(p);
        }
Esempio n. 2
0
 public IncludeParameter CreateIncludeParameter(string resource, string key, string value)
 {
     IncludeParameter p = new IncludeParameter();
     p.Strain = Strain.Meta;
     p.TargetResource = value.Split('.').First();
     p.TargetField = value.Split('.').Last();
     return p;
 }