ReSharper.NTriples.Intentions.CreateFromUsage.CreateNTriplesPrefixContext.CreateNTriplesPrefixContext C# (CSharp) Method

CreateNTriplesPrefixContext() public method

public CreateNTriplesPrefixContext ( CreateNTriplesPrefixTarget target ) : System.Diagnostics
target CreateNTriplesPrefixTarget
return System.Diagnostics
        public CreateNTriplesPrefixContext(CreateNTriplesPrefixTarget target)
        {
            this.myTarget = target;
            this.myAnchor = target.Anchor;
            Debug.Assert(this.myAnchor != null, "myAnchor != null");
            var psiSourceFile = this.myAnchor.GetSourceFile();
            Debug.Assert(psiSourceFile != null, "psiSourceFile != null");
            this.myDocument = psiSourceFile.Document;
        }
CreateNTriplesPrefixContext