Ejemplo n.º 1
0
 public ActionsUpdateResource()
 {
     ActionIdsByProcessId  = new Dictionary <string, string[]>();
     DefaultPropertyValues = new Dictionary <string, PropertyValueResource>(StringComparer.OrdinalIgnoreCase);
     Overrides             = new Dictionary <string, PropertyValueResource>(StringComparer.OrdinalIgnoreCase);
     Links = new LinkCollection();
 }
Ejemplo n.º 2
0
 public void WithLinks(LinkCollection links)
 {
     Links.Clear();
     foreach (var link in links)
     {
         Links.Add(link.Key, link.Value);
     }
 }
Ejemplo n.º 3
0
        public ActionsUpdateResource()
        {
#pragma warning disable 618
            ActionIdsByProcessId = new Dictionary <string, string[]>();
#pragma warning restore 618
            DefaultPropertyValues = new Dictionary <string, PropertyValueResource>(StringComparer.OrdinalIgnoreCase);
            Overrides             = new Dictionary <string, PropertyValueResource>(StringComparer.OrdinalIgnoreCase);
            Links = new LinkCollection();
        }
 public ResourceCollection(IEnumerable <TResource> items, LinkCollection links)
 {
     if (items == null)
     {
         throw new ArgumentNullException("items");
     }
     if (links == null)
     {
         throw new ArgumentNullException("links");
     }
     Items = items.ToList();
     Links = links;
 }
Ejemplo n.º 5
0
 public MissingVariableResource()
 {
     Links = new LinkCollection();
 }
Ejemplo n.º 6
0
 public TenantsMissingVariablesResource(string tenantId)
 {
     TenantId = tenantId;
     Links    = new LinkCollection();
 }
 public VersionControlBranchResource(string name)
 {
     Name  = name;
     Links = new LinkCollection();
 }
Ejemplo n.º 8
0
 public ActionUpdateResultResource()
 {
     Links = new LinkCollection();
 }
Ejemplo n.º 9
0
 public TaskResourceCollection(IEnumerable <TaskResource> items, LinkCollection links) : base(items, links)
 {
 }
Ejemplo n.º 10
0
 public ValidatedGitReferenceResource(string canonicalName)
 {
     CanonicalName = canonicalName;
     Links         = new LinkCollection();
 }
Ejemplo n.º 11
0
 /// <summary>
 /// Initializes a new instance of the <see cref="Resource" /> class.
 /// </summary>
 protected Resource()
 {
     Links = new LinkCollection();
 }